We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0722f47 commit 8253bfcCopy full SHA for 8253bfc
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