summaryrefslogtreecommitdiff
path: root/include/fud_sqlite.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-01 23:04:25 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-01 23:04:25 -0500
commit3a18a6dcab45467e779e91c7b346aa3b148e8b9c (patch)
treeba0d7d521179c2d3fbd7d989eb2033cd2a86dbaf /include/fud_sqlite.hpp
parent4ef88103f74a3a6e8e36ae9eff80f641e20bd1a1 (diff)
Fix move assignment operators or delete them to prevent leaks.
Diffstat (limited to 'include/fud_sqlite.hpp')
-rw-r--r--include/fud_sqlite.hpp2
1 files changed, 1 insertions, 1 deletions
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;