Fix mangling of direct json_pointer access
This commit is contained in:
parent
3f55093bff
commit
4f3674bd1d
|
@ -270,7 +270,7 @@ bool COLOR_SETTINGS::MigrateFromLegacy( wxConfigBase* aCfg )
|
|||
return false;
|
||||
}
|
||||
|
||||
#include <iostream>
|
||||
|
||||
bool COLOR_SETTINGS::migrateSchema0to1()
|
||||
{
|
||||
/**
|
||||
|
|
|
@ -58,6 +58,11 @@ public:
|
|||
return at( PointerFromString( aPath ) );
|
||||
}
|
||||
|
||||
nlohmann::json& operator[]( const nlohmann::json::json_pointer& aPointer )
|
||||
{
|
||||
return nlohmann::json::operator[]( aPointer );
|
||||
}
|
||||
|
||||
nlohmann::json& operator[]( const std::string& aPath )
|
||||
{
|
||||
return nlohmann::json::operator[]( PointerFromString( aPath ) );
|
||||
|
|
Loading…
Reference in New Issue