Move back to static StringMaker<T>::convert
This avoids some breakage from the modernization
This commit is contained in:
parent
31f5e2ed81
commit
67914d8b86
5 changed files with 66 additions and 64 deletions
|
@ -128,7 +128,7 @@ namespace Detail {
|
|||
|
||||
template<>
|
||||
struct StringMaker<Catch::Detail::Approx> {
|
||||
std::string operator()(Catch::Detail::Approx const& value) {
|
||||
static std::string convert(Catch::Detail::Approx const& value) {
|
||||
return value.toString();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue