Changeset 95117 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- May 25, 2022 8:56:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r94787 r95117 69 69 { 70 70 /** Equality predicate for stdc++. */ 71 struct EqualsTo : public std::unary_function <SnapshotRef, bool> 71 struct EqualsTo 72 #if __cplusplus < 201700 /* deprecated in C++11, removed in C++17. */ 73 : public std::unary_function <SnapshotRef, bool> 74 #endif 72 75 { 73 76 explicit EqualsTo(const Guid &aSnapshotId) : snapshotId(aSnapshotId) {} 74 77 78 #if __cplusplus < 201700 /* deprecated in C++11, removed in C++17. */ 75 79 bool operator()(const argument_type &aThat) const 80 #else 81 bool operator()(const SnapshotRef &aThat) const 82 #endif 76 83 { 77 84 return aThat.snapshotId == snapshotId; … … 100 107 { 101 108 /** Equality predicate for stdc++. */ 102 struct EqualsTo : public std::unary_function <BackRef, bool> 109 struct EqualsTo 110 #if __cplusplus < 201700 /* deprecated in C++11, removed in C++17. */ 111 : public std::unary_function <BackRef, bool> 112 #endif 103 113 { 104 114 explicit EqualsTo(const Guid &aMachineId) : machineId(aMachineId) {} 105 115 116 #if __cplusplus < 201700 /* deprecated in C++11, removed in C++17. */ 106 117 bool operator()(const argument_type &aThat) const 118 #else 119 bool operator()(const BackRef &aThat) const 120 #endif 107 121 { 108 122 return aThat.machineId == machineId;
Note:
See TracChangeset
for help on using the changeset viewer.