From a82a693d20fd620d12a6ee07c5e6463771cff4b1 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Sat, 1 May 2021 13:17:33 -0400 Subject: [PATCH] PARAM_LAMBDA: Fix implementation of MatchesFile --- include/settings/parameters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/settings/parameters.h b/include/settings/parameters.h index 7132442a53..19c7a26812 100644 --- a/include/settings/parameters.h +++ b/include/settings/parameters.h @@ -357,12 +357,12 @@ public: if( std::is_same::value ) { if( OPT optval = aSettings->GetJson( m_path ) ) - return *optval == m_default; + return *optval == m_getter(); } else { if( OPT optval = aSettings->Get( m_path ) ) - return *optval == m_default; + return *optval == m_getter(); } // Not in file