Removed spurious cout

This commit is contained in:
Guilhem Lavaux 2015-01-31 18:11:35 +01:00
parent 39fe5f5f7a
commit 48900328d4

View File

@ -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<BOOST_PP_TUPLE_ELEM(2, 0, element)> t; \
::CosmoTool::get_hdf5_data_type<BOOST_PP_TUPLE_ELEM(2, 0, element)> 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()); \
}