diff --git a/include/vrv/options.h b/include/vrv/options.h index 2cb3eff0844..42f59ce1b77 100644 --- a/include/vrv/options.h +++ b/include/vrv/options.h @@ -122,7 +122,7 @@ class Option { void SetShortOption(char shortOption, bool isCmdOnly); char GetShortOption() const { return m_shortOption; } bool IsCmdOnly() const { return m_isCmdOnly; } - bool IsArgumentRequired() const { return true; } + virtual bool IsArgumentRequired() const { return true; } /** * Return a JSON object for the option @@ -187,7 +187,7 @@ class OptionBool : public Option { bool GetDefault() const { return m_defaultValue; } bool SetValue(bool value); - bool IsArgumentRequired() const { return false; } + bool IsArgumentRequired() const override { return false; } private: //