aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-27 16:25:42 +0200
commitceaad6480139e3c68af2e3d2dbe78588fcdc034f (patch)
treef741dd4506252d97edc4a6250b7db4abfd3cb7fa /bpkg/database.cxx
parenta97b12a027546b37f66d3e08064f92f5539cf79e (diff)
Suppress (potential) bogus GCC 12 -Wrestrict warnings
Diffstat (limited to 'bpkg/database.cxx')
-rw-r--r--bpkg/database.cxx2
1 files changed, 1 insertions, 1 deletions
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.