Skip to content

Commit

Permalink
Fixed compilation issues with HDF5 group
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit-Kakodkar committed Oct 11, 2024
1 parent 7a6ee82 commit 7dcf4d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/IO/HDF5/impl/group.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ namespace HDF5 {
#ifdef NO_HDF5
template <typename OpType> class Group {
public:
Group(std::unique_ptr<H5::H5File> &file, const std::string &name) {
throw std::runtime_error("SPECFEM++ was not compiled with HDF5 support");
}
Group(std::unique_ptr<H5::Group> &group, const std::string &name) {
template <typename... Args> Group(Args &&...args) {
throw std::runtime_error("SPECFEM++ was not compiled with HDF5 support");
}

Expand Down

0 comments on commit 7dcf4d9

Please sign in to comment.