mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Fix compilation on Clang
This commit is contained in:
committed by
Ted John
parent
8fdce563ed
commit
bb517aa61c
@@ -253,11 +253,9 @@ namespace OpenRCT2
|
||||
return v;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) || defined(__clang__)
|
||||
#if defined(_MSC_VER)
|
||||
template<> void ReadWrite(std::string_view& v) = delete;
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) || defined(__clang__)
|
||||
template<>
|
||||
#endif
|
||||
void ReadWrite(std::string& v)
|
||||
@@ -285,7 +283,7 @@ namespace OpenRCT2
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) || defined(__clang__)
|
||||
#if defined(_MSC_VER)
|
||||
template<>
|
||||
#endif
|
||||
void Write(const std::string_view& v)
|
||||
|
||||
Reference in New Issue
Block a user