From 210d9cacde638449af430fad0bf245c04c123ebf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 24 Nov 2018 16:04:53 +0200 Subject: Fix inline function ordering (dllexport) --- libbutl/fdstream.ixx | 8 ++++++++ libbutl/fdstream.mxx | 5 ++--- 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 -- cgit v1.1