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 <c.bail@partner.samsung.com>
This commit is contained in:
Felipe Magno de Almeida 2014-06-12 02:12:38 +02:00 committed by Cedric BAIL
parent 808aa0ce50
commit b1eccf2993
1 changed files with 1 additions and 1 deletions

View File

@ -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>
{};