Reorganize base headers for matchers

This commit is contained in:
Martin Hořeňovský committed 2020-02-20 13:39:04 +01:00
1 parent b83a12b12c
commit 40e35d4318
5 files changed
+84 -73

No files matched your search

+5 -5
View File
@@ -1,6 +1,4 @@
/*
* Created by Phil Nash on 19/07/2017.
*
* Distributed under the Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*/
@@ -8,15 +6,17 @@
#include <catch2/catch_matchers.h>
namespace Catch {
namespace Matchers {
namespace Matchers {
std::string MatcherUntypedBase::toString() const {
if( m_cachedToString.empty() )
if (m_cachedToString.empty())
m_cachedToString = describe();
return m_cachedToString;
}
MatcherUntypedBase::~MatcherUntypedBase() = default;
} // namespace Matchers
} // namespace Matchers
} // namespace Catch