diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 16:25:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 16:25:42 +0200 |
commit | ceaad6480139e3c68af2e3d2dbe78588fcdc034f (patch) | |
tree | f741dd4506252d97edc4a6250b7db4abfd3cb7fa /bpkg/pkg-verify.cxx | |
parent | a97b12a027546b37f66d3e08064f92f5539cf79e (diff) |
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r-- | bpkg/pkg-verify.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <name>-<version>. // - 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) // { |