aboutsummaryrefslogtreecommitdiff
path: root/tests/load
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 /tests/load
parent758b66cf9ce32c44b37cd7e2c65b71d89c0240bf (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'tests/load')
-rw-r--r--tests/load/driver.cxx2
1 files changed, 1 insertions, 1 deletions
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<package>& 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;
}