Skip to content

Commit

Permalink
mDirty flip
Browse files Browse the repository at this point in the history
  • Loading branch information
Keenuts committed Apr 18, 2024
1 parent 4013a81 commit 9ed7b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ppx/knob.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<bool(T)> validatorFunc) { mValidatorFunc = validatorFunc; }

Expand Down

0 comments on commit 9ed7b7e

Please sign in to comment.