Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2014-12-11 23:48:11 +0000
committerPhil Nash2014-12-11 23:48:11 +0000
commitbd9fbe25f64ce4a45a09e37142e6e2f55af206fb (patch)
tree3015080b3248e7b0e4a9845cd7fb346e27b6148c /include
parenta99e75b928684e1442661e9a8a5ec458770042e2 (diff)
downloadcatch3-bd9fbe25f64ce4a45a09e37142e6e2f55af206fb.tar.gz
Fixed toString for Approx
restored to a specialisation instead of an overload
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_approx.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/catch_approx.hpp b/include/internal/catch_approx.hpp
index 8b075515..f5dba61a 100644
--- a/include/internal/catch_approx.hpp
+++ b/include/internal/catch_approx.hpp
@@ -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();
}