Skip to content

Commit

Permalink
remove reference to std::unary_function
Browse files Browse the repository at this point in the history
It is not part of c++17 and this code is supposed to build as c++17.

See https://en.cppreference.com/w/cpp/utility/functional/unary_function.
  • Loading branch information
garymm committed Nov 18, 2023
1 parent 3b7fa4a commit c315141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/irrUString.h
Original file line number Diff line number Diff line change
Expand Up @@ -3678,7 +3678,7 @@ namespace unicode

//! Hashing algorithm for hashing a ustring. Used for things like unordered_maps.
//! Algorithm taken from std::hash<std::string>.
class hash : public std::unary_function<core::ustring, size_t>
class hash
{
public:
size_t operator()(const core::ustring& s) const
Expand Down

0 comments on commit c315141

Please sign in to comment.