Skip to content

Commit

Permalink
Fix compilation for gcc >7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Rakoczy authored and Adam Strzelecki committed Oct 20, 2019
1 parent 0d251ad commit d570186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/nrrd_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d570186

Please sign in to comment.