1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-16 06:47:06 +01:00

Fixed the Intel compiler problem with the JSON classes

This commit is contained in:
Guido Cossu
2017-09-08 15:18:59 +01:00
parent 13fa70ac1a
commit 1950ac9294
3 changed files with 7226 additions and 7076 deletions

View File

@ -76,10 +76,9 @@ void JSONWriter::delete_comma()
// annoying, but necessary for TravisCI
namespace Grid
{
template<>
void JSONWriter::writeDefault(const std::string &s, const std::string &x)
{
//std::cout << "JSONWriter::writeDefault(string) : " << s << std::endl;
//std::cout << "JSONWriter::writeDefault(string) : " << s << std::endl;
std::ostringstream os;
os << std::boolalpha << x;
if (s.size())