MSVC type_traits need ::value

MSVC doesn't like {} instanciation here.
This commit is contained in:
Michael Davidsaver
2020-03-29 18:17:44 -07:00
parent 5a9d884e88
commit b83c1776a5
4 changed files with 20 additions and 28 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ void printValue(std::string& dest, const bool& src)
}
template<typename Src>
typename std::enable_if<!std::is_same<Src, bool>{}>::type
typename std::enable_if<!std::is_same<Src, bool>::value>::type
printValue(std::string& dest, const Src& src)
{
std::ostringstream strm;