aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-info.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-08-12 13:53:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-08-12 13:53:04 +0200
commit80ee886ca0bd3e41434621a056125c92f31b1aea (patch)
tree39dea0a0ed7e928f4dd1daf3832fef5bd1503ef0 /bpkg/rep-info.cxx
parent0305f819cfa249df47ba5e78d87a4a501a58da70 (diff)
Adjust to fdstream constructor changes
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r--bpkg/rep-info.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx
index 1d3733d..0f64565 100644
--- a/bpkg/rep-info.cxx
+++ b/bpkg/rep-info.cxx
@@ -204,7 +204,7 @@ namespace bpkg
// Let's set the binary mode not to litter the manifest file
// with the carriage return characters on Windows.
//
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
serialize (ofs, p.string ());
ofs.close ();
}
@@ -319,7 +319,7 @@ namespace bpkg
// Let's set the binary mode not to litter the manifest file
// with the carriage return characters on Windows.
//
- ofdstream ofs (p, ios::binary);
+ ofdstream ofs (p, fdopen_mode::binary);
serialize (ofs, p.string ());
ofs.close ();
}