We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84ae4c commit e6c6edbCopy full SHA for e6c6edb
Shared/sdk/CStringMap.h
@@ -18,7 +18,7 @@ class CStringMapReader : public std::map<SString, V>
18
void ReadString(const SString& strKeyName, SString& strOutValue, const char* szDefaultValue)
19
{
20
V* pstrValue = MapFind(*this, strKeyName);
21
- strOutValue = pstrValue ? **pstrValue : szDefaultValue;
+ strOutValue = pstrValue ? *pstrValue : szDefaultValue;
22
}
23
24
template <typename T, typename U>
0 commit comments