Engine puzzle completed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user