From d4b5ae43b16110f89637aaf9492aedfd48ca445f Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 7 Sep 2017 23:38:26 +0200 Subject: [PATCH] [DEV] remove STL --- eproperty/Property.hpp | 2 +- lutin_eproperty-test.py | 2 +- test/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eproperty/Property.hpp b/eproperty/Property.hpp index 884df63..2f8bc5b 100644 --- a/eproperty/Property.hpp +++ b/eproperty/Property.hpp @@ -22,7 +22,7 @@ namespace eproperty { */ class Property { public: - using Observer = std::function; //!< Local main object observer of changing value of the property + using Observer = etk::Function; //!< Local main object observer of changing value of the property private: eproperty::Interface* m_interfaceLink; //!< Base interface class to group all the property Observer m_setObserver; //!< Observer of the changing value diff --git a/lutin_eproperty-test.py b/lutin_eproperty-test.py index c9ed5bf..b300a49 100644 --- a/lutin_eproperty-test.py +++ b/lutin_eproperty-test.py @@ -34,7 +34,7 @@ def configure(target, my_module): ]) my_module.add_depend([ 'eproperty', - 'gtest', + 'etest', 'test-debug' ]) return True diff --git a/test/main.cpp b/test/main.cpp index 99a5770..2adbb87 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include int main(int _argc, const char *_argv[]) { ::testing::InitGoogleTest(&_argc, const_cast(_argv));