зеркало из https://github.com/microsoft/clang-1.git
Make QualTypeOrdering::operator() const
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
0575d4ab56
Коммит
2b9d973eb7
|
@ -24,7 +24,7 @@ namespace clang {
|
|||
/// QualTypeOrdering - Function object that provides a total ordering
|
||||
/// on QualType values.
|
||||
struct QualTypeOrdering : std::binary_function<QualType, QualType, bool> {
|
||||
bool operator()(QualType T1, QualType T2) {
|
||||
bool operator()(QualType T1, QualType T2) const {
|
||||
return std::less<void*>()(T1.getAsOpaquePtr(), T2.getAsOpaquePtr());
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче