1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Removed issue with std::string_literal

This commit is contained in:
Michael Marshall 2019-02-21 16:51:05 +00:00
parent 55886cf9db
commit 292ff33f7f

View File

@ -162,7 +162,7 @@ public:
#define RDR_ Hdf5Reader #define RDR_ Hdf5Reader
#define WTR_ Hdf5Writer #define WTR_ Hdf5Writer
#define TensorWriteReadInnerNoInit( T ) \ #define TensorWriteReadInnerNoInit( T ) \
filename = "iotest_"s + std::to_string(++TestNum) + "_" #T ".h5"; \ filename = "iotest_" + std::to_string(++TestNum) + "_" #T ".h5"; \
ioTest<WTR_, RDR_, T>(filename, t, #T, #T); ioTest<WTR_, RDR_, T>(filename, t, #T, #T);
#define TensorWriteReadInner( T ) SequentialInit( t ); TensorWriteReadInnerNoInit( T ) #define TensorWriteReadInner( T ) SequentialInit( t ); TensorWriteReadInnerNoInit( T )
#define TensorWriteRead( T ) { T t ; TensorWriteReadInner( T ) } #define TensorWriteRead( T ) { T t ; TensorWriteReadInner( T ) }
@ -171,7 +171,6 @@ public:
void EigenHdf5IOTest(void) void EigenHdf5IOTest(void)
{ {
using namespace std::string_literals;
unsigned int TestNum = 0; unsigned int TestNum = 0;
std::string filename; std::string filename;
using TensorSingle = Eigen::TensorFixedSize<int, Eigen::Sizes<1>>; using TensorSingle = Eigen::TensorFixedSize<int, Eigen::Sizes<1>>;