diff --git a/Garbage/Include/Garbage/SimpleConf.hpp b/Garbage/Include/Garbage/SimpleConf.hpp index 636cc5f..83da582 100644 --- a/Garbage/Include/Garbage/SimpleConf.hpp +++ b/Garbage/Include/Garbage/SimpleConf.hpp @@ -283,7 +283,7 @@ namespace Garbage using namespace SimpleConfImplementation; if (auto it = mPairs.find(key); it != mPairs.end()) { - return Convert(it->second); + return Convert(key, it->second); } return std::nullopt; @@ -295,7 +295,7 @@ namespace Garbage using namespace SimpleConfImplementation; if (auto it = mPairs.find(key); it != mPairs.end()) { - return Convert(it->second); + return Convert(key, it->second); } if constexpr (std::is_same_v) {