diff options
| author | Phil Nash | 2014-12-11 23:48:11 +0000 |
|---|---|---|
| committer | Phil Nash | 2014-12-11 23:48:11 +0000 |
| commit | bd9fbe25f64ce4a45a09e37142e6e2f55af206fb (patch) | |
| tree | 3015080b3248e7b0e4a9845cd7fb346e27b6148c /include | |
| parent | a99e75b928684e1442661e9a8a5ec458770042e2 (diff) | |
| download | catch3-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.hpp | 3 |
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(); } |