From b88ee1c13fa99ec2ed5126b18418bace1f95ed36 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 16:01:43 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- bbot/machine-manifest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bbot/machine-manifest.cxx') 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 -- cgit v1.1