From 5bf2dd09110f257acc730eab71301e1dede1c710 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 16:32:08 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- tests/load/driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/load/driver.cxx b/tests/load/driver.cxx index 727f054..05efd15 100644 --- a/tests/load/driver.cxx +++ b/tests/load/driver.cxx @@ -39,7 +39,7 @@ check_location (shared_ptr& p) { if (p->internal ()) return p->location && *p->location == - path (p->name.string () + "-" + p->version.string () + ".tar.gz"); + path (p->name.string () + '-' + p->version.string () + ".tar.gz"); else return !p->location; } -- cgit v1.1