1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-13 01:05:36 +00:00

gcc 4.9 fix

This commit is contained in:
paboyle 2017-06-13 10:48:43 +01:00
parent 769ad578f5
commit a16b1e134e
2 changed files with 7 additions and 6 deletions

View File

@ -37,9 +37,6 @@
#include <pwd.h> #include <pwd.h>
namespace Grid { namespace Grid {
namespace QCD {
using namespace Grid;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// header specification/interpretation // header specification/interpretation
@ -71,6 +68,11 @@ namespace Grid {
std::string, floating_point); std::string, floating_point);
}; };
namespace QCD {
using namespace Grid;
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// Bit and Physical Checksumming and QA of data // Bit and Physical Checksumming and QA of data
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////

View File

@ -45,8 +45,8 @@ public:
double, y, double, y,
bool , b, bool , b,
std::vector<double>, array, std::vector<double>, array,
std::vector<std::vector<double>>, twodimarray, std::vector<std::vector<double> >, twodimarray,
std::vector<std::vector<std::vector<Complex>>>, cmplx3darray std::vector<std::vector<std::vector<Complex> > >, cmplx3darray
); );
myclass() {} myclass() {}
myclass(int i) myclass(int i)
@ -63,7 +63,6 @@ public:
} }
}; };
int16_t i16 = 1; int16_t i16 = 1;
uint16_t u16 = 2; uint16_t u16 = 2;
int32_t i32 = 3; int32_t i32 = 3;