From 7729cbe31368abb2a737bfc5a74e81c4fb4c6717 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 4 Nov 2016 15:34:49 -0700 Subject: [PATCH] Fix ambiguous error on some compilers. --- controller/JSONDB.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/JSONDB.cpp b/controller/JSONDB.cpp index bb0b98ed1..59110f257 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) {