From ceaad6480139e3c68af2e3d2dbe78588fcdc034f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 16:25:42 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- bpkg/manifest-utility.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index d6a0fd9..5bd273d 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -474,7 +474,7 @@ namespace bpkg for (const path& p: bps) { path f (bd / p); - f += "." + e; + f += '.' + e; append_file (f); } @@ -610,7 +610,7 @@ namespace bpkg "package directory"); if (!erp) - e += " " + d.string (); + e += ' ' + d.string (); throw runtime_error (e); } @@ -642,7 +642,7 @@ namespace bpkg string e ("unable to find bootstrap.build file in package directory"); if (!erp) - e += " " + d.string (); + e += ' ' + d.string (); throw runtime_error (e); } -- cgit v1.1