Added override keyword near IntRange::describe() method

This commit is contained in:
Yurii Nakonechnyi 2019-03-09 15:05:27 +02:00 committed by GitHub
parent d633072794
commit 37a4e32319
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();