Fix ambiguous error on some compilers.
This commit is contained in:
parent
3e865067be
commit
7729cbe313
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
namespace ZeroTier {
|
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)
|
bool JSONDB::put(const std::string &n,const nlohmann::json &obj)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue