diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-21 10:17:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-04-21 10:17:21 +0200 |
commit | 38f9e824fb9402dd018246fbb02f095100b0298b (patch) | |
tree | 8396dffa8178bb37a97db3961bf6ddaca1cb05c8 /bpkg/cfg-create.cxx | |
parent | 13336bebdddb7721347407f64e432627d0d8d6c1 (diff) |
Work around bogus -Wrestrict in GCC 12 (GCC bug #105329)
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r-- | bpkg/cfg-create.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx index c31b197..86ce5da 100644 --- a/bpkg/cfg-create.cxx +++ b/bpkg/cfg-create.cxx @@ -122,7 +122,7 @@ namespace bpkg { // Assemble the build2 create meta-operation parameters. // - string params ("'" + c.representation () + "'"); + string params ('\'' + c.representation () + '\''); if (!mods.empty ()) { params += ','; |