Fix some warnings

This commit is contained in:
LAVAUX Guilhem 2020-04-29 14:36:41 +02:00
parent f6b99a084e
commit 689cc70daa
3 changed files with 4 additions and 6 deletions

View File

@ -93,6 +93,6 @@ namespace CosmoTool
}; }
#endif #endif

View File

@ -165,6 +165,6 @@ namespace CosmoTool
FilesystemFullException() FilesystemFullException()
: Exception() {} : Exception() {}
}; };
}; }
#endif #endif

View File

@ -78,8 +78,6 @@ namespace CosmoTool {
} }
}; };
//, typename boost::enable_if<boost::is_same<T, tl> >::type> \
//
#define HDF5_TYPE(tl, thdf5) \ #define HDF5_TYPE(tl, thdf5) \
template<typename T> struct get_hdf5_data_type<T, typename boost::enable_if<boost::is_same<T,tl> >::type > \ template<typename T> struct get_hdf5_data_type<T, typename boost::enable_if<boost::is_same<T,tl> >::type > \
{ static H5::DataType type() { return H5::PredType::thdf5; }; } { static H5::DataType type() { return H5::PredType::thdf5; }; }
@ -122,7 +120,7 @@ namespace CosmoTool {
template<> template<>
struct hdf5_extent_gen<0> { struct hdf5_extent_gen<0> {
static inline boost::multi_array_types::extent_gen build(hsize_t *d) static inline boost::multi_array_types::extent_gen build(hsize_t *)
{ {
return boost::extents; return boost::extents;
} }
@ -513,7 +511,7 @@ namespace CosmoTool { \
}; \ }; \
}; };
}; }
#endif #endif