mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-13 07:31:04 +00:00
Fix PMapValueReader warning on Clang/GCC
This commit is contained in:
parent
92761feee1
commit
24d27a6746
1 changed files with 1 additions and 1 deletions
|
@ -2603,7 +2603,7 @@ template<typename M>
|
||||||
static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m)
|
static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m)
|
||||||
{
|
{
|
||||||
const char * k;
|
const char * k;
|
||||||
while(k = ar.GetKey())
|
while((k = ar.GetKey()))
|
||||||
{
|
{
|
||||||
typename M::ValueType * val;
|
typename M::ValueType * val;
|
||||||
if constexpr(std::is_same_v<typename M::KeyType,FString>)
|
if constexpr(std::is_same_v<typename M::KeyType,FString>)
|
||||||
|
|
Loading…
Reference in a new issue