Fixed toString for Approx

restored to a specialisation instead of an overload
This commit is contained in:
Phil Nash 2014-12-11 23:48:11 +00:00
parent a99e75b928
commit bd9fbe25f6
1 changed files with 2 additions and 1 deletions

View File

@ -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(); return value.toString();
} }