aboutsummaryrefslogtreecommitdiff
path: root/libbrep/build.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:32:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:32:08 +0200
commit5bf2dd09110f257acc730eab71301e1dede1c710 (patch)
tree291da1bd5a9aac4cdb50efe0c4884bebf75e4d82 /libbrep/build.cxx
parent758b66cf9ce32c44b37cd7e2c65b71d89c0240bf (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'libbrep/build.cxx')
-rw-r--r--libbrep/build.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbrep/build.cxx b/libbrep/build.cxx
index 03775c4..c095b32 100644
--- a/libbrep/build.cxx
+++ b/libbrep/build.cxx
@@ -24,7 +24,7 @@ namespace brep
{
if (s == "building") return build_state::building;
else if (s == "built") return build_state::built;
- else throw invalid_argument ("invalid build state '" + s + "'");
+ else throw invalid_argument ("invalid build state '" + s + '\'');
}
// force_state
@@ -48,7 +48,7 @@ namespace brep
if (s == "unforced") return force_state::unforced;
else if (s == "forcing") return force_state::forcing;
else if (s == "forced") return force_state::forced;
- else throw invalid_argument ("invalid force state '" + s + "'");
+ else throw invalid_argument ("invalid force state '" + s + '\'');
}
// build