forked from catchorg/Catch2
Fixed toString for Approx
restored to a specialisation instead of an overload
This commit is contained in:
@@ -81,7 +81,8 @@ namespace Detail {
|
||||
};
|
||||
}
|
||||
|
||||
inline std::string toString( Detail::Approx const& value ) {
|
||||
template<>
|
||||
inline std::string toString<Detail::Approx>( Detail::Approx const& value ) {
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user