From 876b2e37bd7ae9144293e66de6a60d2d2c316776 Mon Sep 17 00:00:00 2001 From: Viktor Soukup Date: Tue, 3 Jun 2025 09:03:52 +0200 Subject: [PATCH] Add missing key --- Garbage/Include/Garbage/SimpleConf.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {