From ceaad6480139e3c68af2e3d2dbe78588fcdc034f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 27 Oct 2022 16:25:42 +0200 Subject: Suppress (potential) bogus GCC 12 -Wrestrict warnings --- bpkg/database.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/database.cxx') diff --git a/bpkg/database.cxx b/bpkg/database.cxx index 5754fae..6b135fc 100644 --- a/bpkg/database.cxx +++ b/bpkg/database.cxx @@ -467,7 +467,7 @@ namespace bpkg auto drop = [this] (const char* table, const char* column) { execute (std::string ("ALTER TABLE \"main\".") + table + - " DROP COLUMN \"" + column + "\""); + " DROP COLUMN \"" + column + '"'); }; // @@ TMP See migrate_v13() for details. -- cgit v1.1