From dd9811703ad623e6b3ddc51e58ef5cc801f41951 Mon Sep 17 00:00:00 2001 From: ComradeCrow Date: Wed, 17 May 2023 23:25:10 -0700 Subject: save to db is working --- include/sqliteinterface.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sqliteinterface.hpp b/include/sqliteinterface.hpp index cc4adb4..5c7de4d 100644 --- a/include/sqliteinterface.hpp +++ b/include/sqliteinterface.hpp @@ -13,7 +13,7 @@ class SqliteInterface { void closeDB(); void createTables(); void saveVideo(const Video::video&); - void saveInstance(const std::string& uri, float health, const std::string& location); + void saveInstance(const char *uri, float health, const char *location); private: sqlite3* db; }; -- cgit 1.4.1-2-gfad0