From a47b60680a4c5347f306f55c596baf4610487bfb Mon Sep 17 00:00:00 2001 From: lizzie Date: Mon, 2 Feb 2026 23:12:17 +0000 Subject: [PATCH] leave pending param package stuff --- src/common/param_package.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/param_package.cpp b/src/common/param_package.cpp index 629babb811..972b1c1f5f 100644 --- a/src/common/param_package.cpp +++ b/src/common/param_package.cpp @@ -75,7 +75,9 @@ std::string ParamPackage::Serialize() const { std::string ParamPackage::Get(const std::string& key, const std::string& default_value) const { auto pair = data.find(key); if (pair == data.end()) { +#ifndef __OPENORBIS__ LOG_TRACE(Common, "key '{}' not found", key); +#endif return default_value; } @@ -85,7 +87,9 @@ std::string ParamPackage::Get(const std::string& key, const std::string& default int ParamPackage::Get(const std::string& key, int default_value) const { auto pair = data.find(key); if (pair == data.end()) { +#ifndef __OPENORBIS__ LOG_TRACE(Common, "key '{}' not found", key); +#endif return default_value; } @@ -100,7 +104,9 @@ int ParamPackage::Get(const std::string& key, int default_value) const { float ParamPackage::Get(const std::string& key, float default_value) const { auto pair = data.find(key); if (pair == data.end()) { +#ifndef __OPENORBIS__ LOG_TRACE(Common, "key {} not found", key); +#endif return default_value; }