mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-13 23:57:07 +02:00
let it rip
This commit is contained in:
parent
31801e2a86
commit
7e86cb66df
1 changed files with 0 additions and 6 deletions
|
|
@ -78,9 +78,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -90,9 +88,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -107,9 +103,7 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue