leave pending param package stuff

This commit is contained in:
lizzie 2026-02-02 23:12:17 +00:00
parent 1bed6723d3
commit 078a998bc2

View file

@ -78,7 +78,9 @@ std::string ParamPackage::Serialize() const {
std::string ParamPackage::Get(const std::string& key, const std::string& default_value) const { std::string ParamPackage::Get(const std::string& key, const std::string& default_value) const {
auto pair = data.find(key); auto pair = data.find(key);
if (pair == data.end()) { if (pair == data.end()) {
#ifndef __OPENORBIS__
LOG_TRACE(Common, "key '{}' not found", key); LOG_TRACE(Common, "key '{}' not found", key);
#endif
return default_value; return default_value;
} }
@ -88,7 +90,9 @@ std::string ParamPackage::Get(const std::string& key, const std::string& default
int ParamPackage::Get(const std::string& key, int default_value) const { int ParamPackage::Get(const std::string& key, int default_value) const {
auto pair = data.find(key); auto pair = data.find(key);
if (pair == data.end()) { if (pair == data.end()) {
#ifndef __OPENORBIS__
LOG_TRACE(Common, "key '{}' not found", key); LOG_TRACE(Common, "key '{}' not found", key);
#endif
return default_value; return default_value;
} }
@ -103,7 +107,9 @@ int ParamPackage::Get(const std::string& key, int default_value) const {
float ParamPackage::Get(const std::string& key, float default_value) const { float ParamPackage::Get(const std::string& key, float default_value) const {
auto pair = data.find(key); auto pair = data.find(key);
if (pair == data.end()) { if (pair == data.end()) {
#ifndef __OPENORBIS__
LOG_TRACE(Common, "key {} not found", key); LOG_TRACE(Common, "key {} not found", key);
#endif
return default_value; return default_value;
} }