Removed cases of inheritance from the deprecated std::unary_function
This commit is contained in:
parent
7baf9587ad
commit
9b782931bb
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ struct game_info
|
|||
const char* display_status_string() const;
|
||||
};
|
||||
|
||||
class game_filter_base : public std::unary_function<game_info, bool>
|
||||
class game_filter_base
|
||||
{
|
||||
public:
|
||||
virtual ~game_filter_base()
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
class gamemap;
|
||||
|
||||
class xy_pred : public std::unary_function<map_location const&, bool>
|
||||
class xy_pred
|
||||
{
|
||||
public:
|
||||
virtual bool operator()(map_location const&) const = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue