We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0722f47 + 8253bfc commit d78a332Copy full SHA for d78a332
1 file changed
docopt_private.h
@@ -96,7 +96,7 @@ namespace docopt {
96
97
virtual bool match(PatternList& left, std::vector<std::shared_ptr<LeafPattern>>& collected) const override;
98
99
- virtual bool hasValue() const { return static_cast<bool>(fValue); }
+ virtual bool hasValue() const override { return static_cast<bool>(fValue); }
100
101
value const& getValue() const { return fValue; }
102
void setValue(value&& v) { fValue = std::move(v); }
0 commit comments