aboutsummaryrefslogtreecommitdiff
path: root/bbot/machine-manifest.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:01:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:01:43 +0200
commitb88ee1c13fa99ec2ed5126b18418bace1f95ed36 (patch)
tree6852611d200e7990ef1b4faf3dfe2873d89349b2 /bbot/machine-manifest.cxx
parent3ca248eb8f6ebeca4ab0c5fdc67c768769a058ed (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'bbot/machine-manifest.cxx')
-rw-r--r--bbot/machine-manifest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbot/machine-manifest.cxx b/bbot/machine-manifest.cxx
index 2b9f9a6..606baf0 100644
--- a/bbot/machine-manifest.cxx
+++ b/bbot/machine-manifest.cxx
@@ -41,7 +41,7 @@ namespace bbot
{
if (t == "kvm") return machine_type::kvm;
else if (t == "nspawn") return machine_type::nspawn;
- else throw invalid_argument ("invalid machine type '" + t + "'");
+ else throw invalid_argument ("invalid machine type '" + t + '\'');
}
// machine_manifest