mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
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