From d8f7755490e1a12a533d579b3a778d2c16adfcaf Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 10 Jan 2018 14:53:03 +0100 Subject: [PATCH] Added dataset_name to config --- src/config.cpp | 2 ++ src/config.hpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/config.cpp b/src/config.cpp index 0a0297e..5005876 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -10,4 +10,6 @@ namespace config { int n_io_threads = 1; size_t n_slots = 100; + string dataset_name = "data"; + } diff --git a/src/config.hpp b/src/config.hpp index bc6d1c5..168ba65 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -1,4 +1,5 @@ #include +#include #ifndef CONFIG_H #define CONFIG_H @@ -13,6 +14,8 @@ namespace config extern uint16_t rest_port; extern int n_io_threads; extern size_t n_slots; + + extern string dataset_name; } #endif \ No newline at end of file