From 3a18a6dcab45467e779e91c7b346aa3b148e8b9c Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 1 Oct 2024 23:04:25 -0500 Subject: Fix move assignment operators or delete them to prevent leaks. --- include/fud_sqlite.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fud_sqlite.hpp') diff --git a/include/fud_sqlite.hpp b/include/fud_sqlite.hpp index 26e9de3..555e487 100644 --- a/include/fud_sqlite.hpp +++ b/include/fud_sqlite.hpp @@ -105,7 +105,7 @@ class SqliteStatement { SqliteStatement& operator=(const SqliteStatement&) = delete; - SqliteStatement& operator=(SqliteStatement&& rhs); + SqliteStatement& operator=(SqliteStatement&& rhs) = delete; bool valid() const; -- cgit v1.2.3