File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
source/bxdatatools/include/datatools Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ namespace datatools {
217
217
/* * May be used with the std::find_if standard algorithm.
218
218
*/
219
219
class event_id_equal_predicate
220
- : public std::unary_function<event_id, bool >
220
+ // : public std::unary_function<event_id, bool>
221
221
{
222
222
public:
223
223
Original file line number Diff line number Diff line change 3
3
#define DATATOOLS_I_PREDICATE_H
4
4
5
5
// Standard Library:
6
- #include < functional>
6
+ // #include <functional>
7
7
8
8
namespace datatools {
9
9
10
10
// ! \brief A template predicate abstract class
11
11
template <class T >
12
12
class i_predicate
13
- : public std::unary_function<const T&, bool >
13
+ // obsoleted from C++17
14
+ // : public std::unary_function<const T&, bool>
14
15
{
15
16
public:
16
17
virtual bool operator ()(const T & obj_) const = 0;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ namespace datatools {
119
119
120
120
// ! \brief Predicate used by the smart_ref template class
121
121
class has_flag
122
- : public std::unary_function<smart_ref_type, bool >
122
+ // : public std::unary_function<smart_ref_type, bool>
123
123
{
124
124
public:
125
125
You can’t perform that action at this time.
0 commit comments