Merge pull request #24 from kallisti5/fix-gcc11

libsupport: Fix build on gcc 11.2
This commit is contained in:
Jaidyn Ann 2023-04-01 03:37:51 +00:00 committed by GitHub
commit 8e3c961c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ KeyMap<KEY, TYPE>::ValueFor(KEY k, bool* found) const
}
if (i == fMap.end())
return NULL;
return 0;
return i->second;
}