Update Makefile.conf and Libraries
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "Device.h"
|
||||
#include "Functions.h"
|
||||
#include "Util/JSON.h"
|
||||
#include <json.hpp>
|
||||
#include <Logging.h>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
@@ -87,7 +87,7 @@ void Device::UpdateDevicesFromInventory()
|
||||
try
|
||||
{
|
||||
std::string devices = m_httpClient.GetUrlContents(m_inventoryURL);
|
||||
Util::JSON json = Util::JSON::parse(devices);
|
||||
nlohmann::json json = nlohmann::json::parse(devices);
|
||||
|
||||
m_dynamicDevices.clear();
|
||||
for (auto& element : json)
|
||||
|
||||
Reference in New Issue
Block a user