diff --git a/mapped_file.cpp b/mapped_file.cpp index a5c8d8b..1592c76 100644 --- a/mapped_file.cpp +++ b/mapped_file.cpp @@ -36,7 +36,7 @@ mapped_file::~mapped_file() { } } -mapped_file::mapped_file(mapped_file&& other) { +mapped_file::mapped_file(mapped_file&& other) : std::istream {std::move(other)} { _fd = other._fd; _mapping = other._mapping; _length = other._length;