File tree 2 files changed +1
-3
lines changed 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ class JSON_API Value {
235
235
236
236
private:
237
237
struct StaticInitTag {};
238
- Value (StaticInitTag); // /< A special constructor for Value::kNull.
238
+ explicit Value (StaticInitTag) {} // /< A special constructor for Value::kNull.
239
239
static const Value kNull ;
240
240
241
241
public:
Original file line number Diff line number Diff line change @@ -299,8 +299,6 @@ bool Value::CZString::isStaticString() const { return storage_.policy_ == noDupl
299
299
// //////////////////////////////////////////////////////////////////
300
300
// //////////////////////////////////////////////////////////////////
301
301
302
- Value::Value (Value::StaticInitTag) {}
303
-
304
302
/* ! \internal Default constructor initialization must be equivalent to:
305
303
* memset( this, 0, sizeof(Value) )
306
304
* This optimization is used in ValueInternalMap fast allocator.
You can’t perform that action at this time.
0 commit comments