aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-24 16:04:53 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-24 16:04:53 +0200
commit210d9cacde638449af430fad0bf245c04c123ebf (patch)
tree1b0cd38409ea7f00c26671aff333c70d82d6af45
parent90fbede55256cb672a67d8181b4f0435047d4e13 (diff)
Fix inline function ordering (dllexport)
-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