Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60679 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky
2008-12-08 00:45:02 +00:00
parent c765a5acad
commit 28ea4f6c07
3 changed files with 47 additions and 16 deletions

View File

@ -31,7 +31,7 @@ Annotable::~Annotable() { // Virtual because it's designed to be subclassed...
namespace {
class StrCmp {
public:
bool operator()(const char *a, const char *b) {
bool operator()(const char *a, const char *b) const {
return strcmp(a, b) < 0;
}
};