mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
Added override keyword near IntRange::describe() method
This commit is contained in:
parent
d633072794
commit
37a4e32319
@ -100,7 +100,7 @@ public:
|
|||||||
// include any provided data (the begin/ end in this case) and
|
// include any provided data (the begin/ end in this case) and
|
||||||
// be written as if it were stating a fact (in the output it will be
|
// be written as if it were stating a fact (in the output it will be
|
||||||
// preceded by the value under test).
|
// preceded by the value under test).
|
||||||
virtual std::string describe() const {
|
virtual std::string describe() const override {
|
||||||
std::ostringstream ss;
|
std::ostringstream ss;
|
||||||
ss << "is between " << m_begin << " and " << m_end;
|
ss << "is between " << m_begin << " and " << m_end;
|
||||||
return ss.str();
|
return ss.str();
|
||||||
|
Loading…
Reference in New Issue
Block a user