From 9ed7b7e7548d9dd0691f57951bee09e719183e1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathan=20Gau=C3=ABr?= Date: Thu, 18 Apr 2024 18:29:35 +0200 Subject: [PATCH] mDirty flip --- include/ppx/knob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ppx/knob.h b/include/ppx/knob.h index 4222ef2e6..65216577d 100644 --- a/include/ppx/knob.h +++ b/include/ppx/knob.h @@ -400,7 +400,7 @@ class KnobFlag final T GetValue() const { return mValue; } - bool IsDefaultValue() const { return mDirty; } + bool IsDefaultValue() const { return !mDirty; } void SetValidator(std::function validatorFunc) { mValidatorFunc = validatorFunc; }