From fc264ed86072de8d4b829c74ff8a87a0d2d7bb92 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Sat, 11 Jul 2020 15:47:46 +0200 Subject: [PATCH] fixed inherited constructor call --- mapped_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;