mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Merge pull request #1565 from inobelar/patch-1
Added override keyword near IntRange::describe() method
This commit is contained in:
commit
1ce5ec9b74
@ -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