Skip to content
Permalink
Browse files

fix warning

  • Loading branch information
jef-n committed Jul 16, 2018
1 parent 5d11388 commit 97d28d4c6d23b6835f151f2e6457327aab71dd3e
Showing with 1 addition and 1 deletion.
  1. +1 −1 external/mdal/frmts/mdal_hdf5.hpp
@@ -27,7 +27,7 @@ struct HdfString
char data [HDF_MAX_NAME];
};

template <int TYPE> inline void hdfClose( hid_t id ) { assert( false ); }
template <int TYPE> inline void hdfClose( hid_t id ) { Q_UNUSED( id ); assert( false ); }
template <> inline void hdfClose<H5I_FILE>( hid_t id ) { H5Fclose( id ); }
template <> inline void hdfClose<H5I_GROUP>( hid_t id ) { H5Gclose( id ); }
template <> inline void hdfClose<H5I_DATASET>( hid_t id ) { H5Dclose( id ); }

0 comments on commit 97d28d4

Please sign in to comment.
You can’t perform that action at this time.