diff --git a/include/kth/node/executor/executor.hpp b/include/kth/node/executor/executor.hpp index f256b66..780324d 100644 --- a/include/kth/node/executor/executor.hpp +++ b/include/kth/node/executor/executor.hpp @@ -14,20 +14,10 @@ namespace kth::node { - -static constexpr +std::string_view microarchitecture(); std::string_view march_names(); - -static constexpr -std::string_view node_version(); - -static constexpr std::string_view currency_symbol(); - -static constexpr std::string_view currency(); - -static constexpr std::string_view db_type(); class executor { diff --git a/src/executor/executor.cpp b/src/executor/executor.cpp index 93fab37..86560ac 100644 --- a/src/executor/executor.cpp +++ b/src/executor/executor.cpp @@ -53,13 +53,10 @@ static constexpr int directory_exists = 0; static constexpr int directory_not_found = 2; static auto const mode = std::ofstream::out | std::ofstream::app; - -static constexpr std::string_view microarchitecture() { return KTH_MICROARCHITECTURE_STR; } -static constexpr std::string_view march_names() { #if defined(KTH_MARCH_NAMES_FULL_STR) return KTH_MARCH_NAMES_FULL_STR; @@ -68,27 +65,18 @@ std::string_view march_names() { #endif } -static constexpr -std::string_view node_version() { - return KTH_NODE_VERSION; -} - -static constexpr std::string_view currency_symbol() { return KTH_CURRENCY_SYMBOL_STR; } -static constexpr std::string_view currency() { return KTH_CURRENCY_STR; } -static constexpr std::string_view db_type() { return KTH_DB_TYPE; } - std::promise executor::stopping_; //NOLINT executor::executor(kth::node::configuration const& config, bool stdout_enabled /*= true*/)