diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-08 08:23:49 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-09-08 08:23:49 +0200 |
commit | 1b223af456140fb02af647bed6cbff18973b0229 (patch) | |
tree | 07ff16ac92412aec3fc55a1f7e3a8174f014eaec /libbuild2/depdb.cxx | |
parent | 171b0e3a3b6f5bde0489c0e12c679fcefdeca54f (diff) |
Adjust to renaming of butl::fdbuf to fdstreambuf
Diffstat (limited to 'libbuild2/depdb.cxx')
-rw-r--r-- | libbuild2/depdb.cxx | 6 |
1 files changed, 3 insertions, 3 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<fdbuf*> (is_.rdbuf ()); + buf_ = static_cast<fdstreambuf*> (is_.rdbuf ()); } else { new (&os_) ofdstream (move (fd), em); - buf_ = static_cast<fdbuf*> (os_.rdbuf ()); + buf_ = static_cast<fdstreambuf*> (os_.rdbuf ()); } } @@ -142,7 +142,7 @@ namespace build2 new (&os_) ofdstream (move (fd), ofdstream::badbit | ofdstream::failbit, pos_); - buf_ = static_cast<fdbuf*> (os_.rdbuf ()); + buf_ = static_cast<fdstreambuf*> (os_.rdbuf ()); state_ = state::write; mtime = timestamp_unknown; |