26 lines
718 B
Diff
26 lines
718 B
Diff
From 8009add0cae666b14677376269b2b2f810ede318 Mon Sep 17 00:00:00 2001
|
|
From: zhangzhangxin <zhangxin1@xfusion.com>
|
|
Date: Fri, 28 Apr 2023 15:49:46 +0800
|
|
Subject: [PATCH] sync:Add nullptr Json::Value constructor
|
|
|
|
Signed-off-by: zhangzhangxin <zhangxin1@xfusion.com>
|
|
---
|
|
include/json/value.h | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/include/json/value.h b/include/json/value.h
|
|
index dffc51a..df1eba6 100644
|
|
--- a/include/json/value.h
|
|
+++ b/include/json/value.h
|
|
@@ -342,6 +342,7 @@ public:
|
|
Value(const StaticString& value);
|
|
Value(const String& value);
|
|
Value(bool value);
|
|
+ Value(std::nullptr_t ptr) = delete;
|
|
Value(const Value& other);
|
|
Value(Value&& other);
|
|
~Value();
|
|
--
|
|
2.40.0.windows.1
|
|
|