about summary refs log tree commit diff stats
path: root/include
diff options
context:
space:
mode:
authorComradeCrow <comradecrow@vivaldi.net>2023-05-17 23:25:10 -0700
committerComradeCrow <comradecrow@vivaldi.net>2023-05-17 23:25:10 -0700
commitdd9811703ad623e6b3ddc51e58ef5cc801f41951 (patch)
tree7c10fbd421919cbf2ff19fd3454445790102e6c1 /include
parent8b4fa2a3b6b1a3d75fd4ae5a61266e159d22e095 (diff)
downloadytcpp-dd9811703ad623e6b3ddc51e58ef5cc801f41951.tar.gz
save to db is working
Diffstat (limited to 'include')
-rw-r--r--include/sqliteinterface.hpp2
1 files changed, 1 insertions, 1 deletions
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;
 };