mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 11:43:29 +01:00
Fixed toString for Approx
restored to a specialisation instead of an overload
This commit is contained in:
parent
a99e75b928
commit
bd9fbe25f6
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user