diff --git a/include/highfive/H5DataType.hpp b/include/highfive/H5DataType.hpp index 35bff7f..afa7c17 100644 --- a/include/highfive/H5DataType.hpp +++ b/include/highfive/H5DataType.hpp @@ -61,6 +61,11 @@ class IntegerType; /// class DataType: public Object { public: + explicit DataType(hid_t hid) noexcept : + Object(hid) + { + } + bool operator==(const DataType& other) const; bool operator!=(const DataType& other) const;