Engine puzzle completed

This commit is contained in:
sippeangelo
2015-11-30 17:02:24 +01:00
parent 52278d7bc2
commit 872879c013
62 changed files with 5344 additions and 113 deletions
+17 -7
View File
@@ -1,13 +1,23 @@
#ifndef BoostPathHash_h__
#define BoostPathHash_h__
struct BoostPathHash
namespace std
{
template <typename T>
std::size_t operator()(const boost::filesystem::path& p) const
template<> struct hash<boost::filesystem::path>
{
return boost::filesystem::hash_value(p);
}
};
size_t operator()(const boost::filesystem::path& p) const
{
return boost::filesystem::hash_value(p);
}
};
}
//struct BoostPathHash
//{
//
// template <typename T>
// std::size_t operator()(const boost::filesystem::path& p) const
// {
// return boost::filesystem::hash_value(p);
// }
//};
#endif