diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 16:14:24 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-27 16:14:24 +0200 |
commit | 5d2f40dbca1ed021eb4586c8f3f5578825e82c57 (patch) | |
tree | 0947649b6732e977873816abb494d19cb985c344 /libbbot/build-config.cxx | |
parent | 9bcf79911d645e7ddcd771826a90e9f7dfd55896 (diff) |
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'libbbot/build-config.cxx')
-rw-r--r-- | libbbot/build-config.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbbot/build-config.cxx b/libbbot/build-config.cxx index 01ce57e..15061fc 100644 --- a/libbbot/build-config.cxx +++ b/libbbot/build-config.cxx @@ -189,9 +189,9 @@ namespace bbot r.classes.push_back (c); } else if (j->second != base && !base.empty ()) - throw invalid_argument ("'" + c + "' new base '" + base + + throw invalid_argument ('\'' + c + "' new base '" + base + "' does not match existing '" + - j->second + "'"); + j->second + '\''); if (!placeholder) config.classes.emplace_back (move (c)); |