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.
2 parents 48d2a69 + b299d35 commit b14c8c1Copy full SHA for b14c8c1
src/lib_json/json_value.cpp
@@ -39,8 +39,8 @@ namespace Json {
39
// static
40
Value const& Value::nullSingleton()
41
{
42
- static Value const* nullStatic = new Value;
43
- return *nullStatic;
+ static Value const nullStatic;
+ return nullStatic;
44
}
45
46
// for backwards compatibility, we'll leave these global references around, but DO NOT
0 commit comments