From 1b223af456140fb02af647bed6cbff18973b0229 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 8 Sep 2021 08:23:49 +0200 Subject: Adjust to renaming of butl::fdbuf to fdstreambuf --- libbuild2/depdb.cxx | 6 +++--- libbuild2/depdb.hxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libbuild2/depdb.cxx b/libbuild2/depdb.cxx index 86fbece..657c772 100644 --- a/libbuild2/depdb.cxx +++ b/libbuild2/depdb.cxx @@ -59,12 +59,12 @@ namespace build2 if (state_ == state::read) { new (&is_) ifdstream (move (fd), em); - buf_ = static_cast (is_.rdbuf ()); + buf_ = static_cast (is_.rdbuf ()); } else { new (&os_) ofdstream (move (fd), em); - buf_ = static_cast (os_.rdbuf ()); + buf_ = static_cast (os_.rdbuf ()); } } @@ -142,7 +142,7 @@ namespace build2 new (&os_) ofdstream (move (fd), ofdstream::badbit | ofdstream::failbit, pos_); - buf_ = static_cast (os_.rdbuf ()); + buf_ = static_cast (os_.rdbuf ()); state_ = state::write; mtime = timestamp_unknown; diff --git a/libbuild2/depdb.hxx b/libbuild2/depdb.hxx index 671c7fd..c3e60a2 100644 --- a/libbuild2/depdb.hxx +++ b/libbuild2/depdb.hxx @@ -75,7 +75,7 @@ namespace build2 ofdstream os_; // write }; - butl::fdbuf* buf_; // Current buffer (for tellg()/tellp()). + butl::fdstreambuf* buf_; // Current buffer (for tellg()). }; class LIBBUILD2_SYMEXPORT depdb: private depdb_base -- cgit v1.1