cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=b1eccf299373f9c735488c91d139fc6b6a9e4b0f
commit b1eccf299373f9c735488c91d139fc6b6a9e4b0f Author: Felipe Magno de Almeida <[email protected]> Date: Thu Jun 12 02:12:38 2014 +0200 eina-cxx: fix compilation error on clang in eina_thread.hh Summary: Fixed compilation error for using std::hash without #include'ing <functional> @fix Reviewers: MagikBSD, tasn, cedric, raster, woohyun CC: savio, cedric Maniphest Tasks: T1328 Differential Revision: https://phab.enlightenment.org/D1005 Signed-off-by: Cedric BAIL <[email protected]> --- src/bindings/eina_cxx/eina_thread.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/eina_cxx/eina_thread.hh b/src/bindings/eina_cxx/eina_thread.hh index 320f038..4cf7e90 100644 --- a/src/bindings/eina_cxx/eina_thread.hh +++ b/src/bindings/eina_cxx/eina_thread.hh @@ -12,6 +12,7 @@ #include <functional> #include <chrono> #include <mutex> +#include <functional> /** * @addtogroup Eina_Cxx_Tools_Group Tools @@ -771,7 +772,6 @@ void sleep_for(std::chrono::duration<Rep, Period>const& rel_time); */ namespace std { -template <typename T> struct hash; template <> struct hash< ::efl::eina::thread_id> : hash<unsigned long> {}; --
