Skip to content

Commit

Permalink
Fix STL build
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed May 14, 2020
1 parent fcb20a8 commit df348bc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Math/assume.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include "../MathBuildConfig.h"
#ifdef MATH_ENABLE_STL_SUPPORT
#include <sstream>
#include <string>
#endif
#include "MathNamespace.h"
#include <stdio.h>
Expand Down Expand Up @@ -90,13 +91,15 @@ inline StringT ObjToString(const T &obj)
{
return obj.ToString();
}
/*

#if defined(MATH_ENABLE_STL_SUPPORT)
template<>
inline std::string ObjToString<const char*>(const char * const & obj)
{
return obj;
}
*/
#endif

template<>
inline StringT ObjToString<StringT>(const StringT &obj)
{
Expand Down

0 comments on commit df348bc

Please sign in to comment.