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/pkg-verify.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-verify.cxx') diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx index 6d5a2fe..0541f1b 100644 --- a/bpkg/pkg-verify.cxx +++ b/bpkg/pkg-verify.cxx @@ -202,7 +202,7 @@ namespace bpkg { // Verify package archive/directory is -. // - dir_path ed (m.name.string () + "-" + m.version.string ()); + dir_path ed (m.name.string () + '-' + m.version.string ()); if (pd != ed) { @@ -509,7 +509,7 @@ namespace bpkg // not clear why we should enforce it in this case (i.e., the user // provides us with a package directory). // - // dir_path ed (m.name + "-" + m.version.string ()); + // dir_path ed (m.name + '-' + m.version.string ()); // // if (d.leaf () != ed) // { -- cgit v1.1