diff options
Diffstat (limited to 'include/Database.hpp')
-rw-r--r-- | include/Database.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Database.hpp b/include/Database.hpp index 68fff62..bde4d5a 100644 --- a/include/Database.hpp +++ b/include/Database.hpp @@ -7,6 +7,7 @@ #include <opendht/dhtrunner.h> #include <vector> #include <ntp/NtpClient.hpp> +#include <boost/filesystem/path.hpp> namespace odhtdb { @@ -15,7 +16,7 @@ namespace odhtdb class Database { public: - Database(const char *bootstrapNodeAddr, u16 port); + Database(const char *bootstrapNodeAddr, u16 port, boost::filesystem::path storageDir); ~Database(); void seed(); @@ -35,4 +36,4 @@ namespace odhtdb std::vector<StagedCreateObject> stagedCreateObjects; std::vector<StagedAddObject> stagedAddObjects; }; -}
\ No newline at end of file +} |