summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
Diffstat (limited to 'controller')
-rw-r--r--controller/JSONDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp
index bb0b98ed..59110f25 100644
--- a/controller/JSONDB.cpp
+++ b/controller/JSONDB.cpp
@@ -20,7 +20,7 @@
namespace ZeroTier {
-static const nlohmann::json _EMPTY_JSON({{}});
+static const nlohmann::json _EMPTY_JSON(nlohmann::json::object());
bool JSONDB::put(const std::string &n,const nlohmann::json &obj)
{