diff --git a/src/util/nrrd_writer.h b/src/util/nrrd_writer.h index eade1bd..445df70 100644 --- a/src/util/nrrd_writer.h +++ b/src/util/nrrd_writer.h @@ -8,7 +8,7 @@ namespace util { /// Writes image header to \a NRRD file //// /// \see http://teem.sourceforge.net/nrrd/ -class nrrd_writer : std::ofstream { +class nrrd_writer : public std::ofstream { public: /// Constructs new \a NRRD writer writing to given path nrrd_writer(std::string fn, std::string raw_fn, bool textual = false)