Fix PMapValueReader warning on Clang/GCC

This commit is contained in:
Ricardo Luís Vaz Silva 2022-12-04 17:21:09 -03:00 committed by Christoph Oelckers
parent 92761feee1
commit 24d27a6746

View file

@ -2603,7 +2603,7 @@ template<typename M>
static bool PMapValueReader(FSerializer &ar, M *map, const PMap *m)
{
const char * k;
while(k = ar.GetKey())
while((k = ar.GetKey()))
{
typename M::ValueType * val;
if constexpr(std::is_same_v<typename M::KeyType,FString>)