aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-build.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
commitceaad6480139e3c68af2e3d2dbe78588fcdc034f (patch)
treef741dd4506252d97edc4a6250b7db4abfd3cb7fa /bpkg/pkg-build.cxx
parenta97b12a027546b37f66d3e08064f92f5539cf79e (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'bpkg/pkg-build.cxx')
-rw-r--r--bpkg/pkg-build.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/pkg-build.cxx b/bpkg/pkg-build.cxx
index 58bb793..78ed73d 100644
--- a/bpkg/pkg-build.cxx
+++ b/bpkg/pkg-build.cxx
@@ -131,7 +131,7 @@ namespace bpkg
try
{
- return version_constraint ("~" + vs);
+ return version_constraint ('~' + vs);
}
// Note that the only possible reason for invalid_argument exception to
// be thrown is that minor version reached the 99999 limit (see
@@ -3534,7 +3534,7 @@ namespace bpkg
l5 ([&]{trace << "collection failed due to " << e.description
<< (e.package != nullptr
- ? " (" + e.package->string () + ")"
+ ? " (" + e.package->string () + ')'
: empty_string)
<< ", retry from scratch";});