aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/fdstream.ixx8
-rw-r--r--libbutl/fdstream.mxx5
2 files changed, 10 insertions, 3 deletions
diff --git a/libbutl/fdstream.ixx b/libbutl/fdstream.ixx
index 4323954..7a15f51 100644
--- a/libbutl/fdstream.ixx
+++ b/libbutl/fdstream.ixx
@@ -43,6 +43,14 @@ namespace butl
return std::move (fd_);
}
+ // fdstream_base
+ //
+ inline fdstream_base::
+ fdstream_base (auto_fd&& fd, std::uint64_t pos)
+ : buf_ (std::move (fd), pos)
+ {
+ }
+
// ifdstream
//
inline ifdstream::
diff --git a/libbutl/fdstream.mxx b/libbutl/fdstream.mxx
index 2bb3807..dd7418e 100644
--- a/libbutl/fdstream.mxx
+++ b/libbutl/fdstream.mxx
@@ -270,9 +270,8 @@ LIBBUTL_MODEXPORT namespace butl
{
protected:
fdstream_base () = default;
- fdstream_base (auto_fd&& fd, std::uint64_t pos)
- : buf_ (std::move (fd), pos) {}
- fdstream_base (auto_fd&&, fdstream_mode, std::uint64_t);
+ fdstream_base (auto_fd&&, std::uint64_t pos);
+ fdstream_base (auto_fd&&, fdstream_mode, std::uint64_t pos);
public:
int