fixed inherited constructor call

This commit is contained in:
Bob Polis 2020-07-11 15:47:46 +02:00
parent 261ef4356b
commit fc264ed860

View File

@ -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;