Commit 8220d5fa authored by mercury233's avatar mercury233 Committed by GitHub

remove usage of std::unary_function in irrUString.h (#2501)

parent a4549a40
...@@ -3052,7 +3052,7 @@ namespace unicode { ...@@ -3052,7 +3052,7 @@ namespace unicode {
//! Hashing algorithm for hashing a ustring. Used for things like unordered_maps. //! Hashing algorithm for hashing a ustring. Used for things like unordered_maps.
//! Algorithm taken from std::hash<std::string>. //! Algorithm taken from std::hash<std::string>.
class hash : public std::unary_function<core::ustring, size_t> { class hash {
public: public:
size_t operator()(const core::ustring& s) const { size_t operator()(const core::ustring& s) const {
size_t ret = 2166136261U; size_t ret = 2166136261U;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment