mirror of https://github.com/catchorg/Catch2.git
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