Commit 5db5fc38 authored by Zheng, Lei's avatar Zheng, Lei Committed by Uwe
Browse files

Fix build error

error: ambiguous overload for ‘operator==’ (operand types are ‘App::StringHasher* const’ and ‘const StringHasherRef’ {aka ‘const Base::Reference<App::StringHasher>’})
parent 28ca0cf7
......@@ -129,18 +129,18 @@ public:
}
/** Lower operator, needed for sorting in maps and sets */
bool operator<(const Reference<T>& p) const {
return _toHandle < p._toHandle;
}
// bool operator<(const Reference<T>& p) const {
// return _toHandle < p._toHandle;
// }
/** Equal operator */
bool operator==(const Reference<T>& p) const {
return _toHandle == p._toHandle;
}
bool operator!=(const Reference<T>& p) const {
return _toHandle != p._toHandle;
}
// bool operator==(const Reference<T>& p) const {
// return _toHandle == p._toHandle;
// }
//
// bool operator!=(const Reference<T>& p) const {
// return _toHandle != p._toHandle;
// }
//**************************************************************************
......
Supports Markdown
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