From 80ee886ca0bd3e41434621a056125c92f31b1aea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Aug 2019 13:53:04 +0200 Subject: Adjust to fdstream constructor changes --- bpkg/rep-info.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/rep-info.cxx') 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 (); } -- cgit v1.1