mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-01 18:38:02 +08:00
8fb29061f4
* [realsense2] Add tm2 feature for support T265 devices * Fix tools build error on Visual Studio 2019 * Update the way to handle features as vcpkg_check_features() * Update
14 lines
476 B
Diff
14 lines
476 B
Diff
diff --git a/common/rs-config.cpp b/common/rs-config.cpp
|
|
index ff3a757..c9efa1a 100644
|
|
--- a/common/rs-config.cpp
|
|
+++ b/common/rs-config.cpp
|
|
@@ -97,7 +97,7 @@ config_file::config_file(std::string filename)
|
|
auto j = json::parse(str);
|
|
for (json::iterator it = j.begin(); it != j.end(); ++it)
|
|
{
|
|
- _values[it.key()] = it.value();
|
|
+ _values[it.key()] = it.value().get<std::string>();
|
|
}
|
|
}
|
|
catch(...)
|