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-create.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/rep-create.cxx') diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index 9667016..f9d239b 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -196,7 +196,7 @@ namespace bpkg // no reason to litter the auto-generated packages and signature // manifest files. // - ofdstream ofs (p, ios::binary); + ofdstream ofs (p, fdopen_mode::binary); manifest_serializer s (ofs, p.string ()); manifests.serialize (s); @@ -219,7 +219,7 @@ namespace bpkg p = path (d / signature_file); - ofdstream ofs (p, ios::binary); + ofdstream ofs (p, fdopen_mode::binary); manifest_serializer s (ofs, p.string ()); m.serialize (s); -- cgit v1.1