diff --git a/src/hdf5_array.hpp b/src/hdf5_array.hpp index 2dad3ad..abcdc79 100644 --- a/src/hdf5_array.hpp +++ b/src/hdf5_array.hpp @@ -209,10 +209,9 @@ namespace CosmoTool { #define CTOOL_HDF5_NAME(STRUCT) BOOST_PP_CAT(hdf5_,STRUCT) #define CTOOL_HDF5_INSERT_ELEMENT(r, STRUCT, element) \ { \ - CosmoTool::get_hdf5_data_type t; \ + ::CosmoTool::get_hdf5_data_type t; \ position = HOFFSET(STRUCT, BOOST_PP_TUPLE_ELEM(2, 1, element)); \ const char *field_name = BOOST_PP_STRINGIZE(BOOST_PP_TUPLE_ELEM(2, 1, element)); \ - std::cout << "Field " << field_name << " offset = " << position << endl; \ type.insertMember(field_name, position, t.type()); \ }