From 689cc70daa8006f4e4eeeda29d7bc460f37bf5a7 Mon Sep 17 00:00:00 2001 From: LAVAUX Guilhem Date: Wed, 29 Apr 2020 14:36:41 +0200 Subject: [PATCH] Fix some warnings --- src/algo.hpp | 2 +- src/config.hpp | 2 +- src/hdf5_array.hpp | 6 ++---- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/algo.hpp b/src/algo.hpp index 5f896ef..9dcf1bc 100644 --- a/src/algo.hpp +++ b/src/algo.hpp @@ -93,6 +93,6 @@ namespace CosmoTool -}; +} #endif diff --git a/src/config.hpp b/src/config.hpp index 6fa7b63..940919b 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -165,6 +165,6 @@ namespace CosmoTool FilesystemFullException() : Exception() {} }; -}; +} #endif diff --git a/src/hdf5_array.hpp b/src/hdf5_array.hpp index 11762bb..4cab937 100644 --- a/src/hdf5_array.hpp +++ b/src/hdf5_array.hpp @@ -78,8 +78,6 @@ namespace CosmoTool { } }; - //, typename boost::enable_if >::type> \ - // #define HDF5_TYPE(tl, thdf5) \ template struct get_hdf5_data_type >::type > \ { static H5::DataType type() { return H5::PredType::thdf5; }; } @@ -122,7 +120,7 @@ namespace CosmoTool { template<> 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; } @@ -513,7 +511,7 @@ namespace CosmoTool { \ }; \ }; -}; +} #endif