mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Constify method to make VC++ happy. Patch by Brian Diekelman!
llvm-svn: 68222
This commit is contained in:
parent
818a08f22e
commit
3ba6a84085
@ -135,7 +135,7 @@ static const std::string &getOptName(const Record *R) {
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
struct VISIBILITY_HIDDEN CompareOptName {
|
struct VISIBILITY_HIDDEN CompareOptName {
|
||||||
bool operator()(const Record* A, const Record* B) {
|
bool operator()(const Record* A, const Record* B) const {
|
||||||
return getOptName(A) < getOptName(B);
|
return getOptName(A) < getOptName(B);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user