]> git.sesse.net Git - nageru/blobdiff - db.h
Make it possible to change the working directory.
[nageru] / db.h
diff --git a/db.h b/db.h
index 13a7e510535fc0cdb2421cc7ce011d5ef982fe73..40a6602d937f1945995ad5d34c2b020f9de92b3e 100644 (file)
--- a/db.h
+++ b/db.h
@@ -4,10 +4,11 @@
 #include "state.pb.h"
 
 #include <sqlite3.h>
+#include <string>
 
 class DB {
 public:
-       explicit DB(const char *filename);
+       explicit DB(const std::string &filename);
        DB(const DB &) = delete;
 
        StateProto get_state();