From 9972d56bb2bd6d327ed657e77d87cbe0bf19c3df Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Thu, 26 May 2016 23:22:19 +0200 Subject: [PATCH] fix(build): Dont include old util lib --- include/modules/network.hpp | 1 - include/services/store.hpp | 2 ++ src/CMakeLists.txt | 2 +- src/services/store.cpp | 2 ++ 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/modules/network.hpp b/include/modules/network.hpp index a04a619a..6f44fc75 100644 --- a/include/modules/network.hpp +++ b/include/modules/network.hpp @@ -9,7 +9,6 @@ #include "modules/base.hpp" #include "interfaces/net.hpp" #include "services/logger.hpp" -#include "services/store.hpp" #include "drawtypes/icon.hpp" #include "drawtypes/label.hpp" #include "drawtypes/animation.hpp" diff --git a/include/services/store.hpp b/include/services/store.hpp index 761737a6..d8bf334f 100644 --- a/include/services/store.hpp +++ b/include/services/store.hpp @@ -1,3 +1,4 @@ +#if 0 #ifndef _SERVICES_STORE_HPP_ #define _SERVICES_STORE_HPP_ @@ -34,3 +35,4 @@ struct Store }; #endif +#endif diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d7035017..21b955fd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -46,7 +46,7 @@ set(SOURCE_FILES "src/services/command.cpp" "src/services/inotify.cpp" "src/services/logger.cpp" - "src/services/store.cpp" + # "src/services/store.cpp" "src/utils/cli.cpp" "src/utils/config.cpp" "src/utils/io.cpp" diff --git a/src/services/store.cpp b/src/services/store.cpp index 05c77a2f..8bc70016 100644 --- a/src/services/store.cpp +++ b/src/services/store.cpp @@ -1,3 +1,4 @@ +#if 0 #include "services/logger.hpp" #include "services/store.hpp" @@ -63,3 +64,4 @@ void Store::set_string(const std::string& s) std::memcpy(this->region.get_address(), s.c_str(), this->region.get_size()); this->flag(); } +#endif