forked from enlightenment/efl
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:
parent
808aa0ce50
commit
b1eccf2993
|
@ -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>
|
||||
{};
|
||||
|
|
Loading…
Reference in New Issue