commit | 28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Mon Dec 08 00:45:02 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Mon Dec 08 00:45:02 2008 +0000 |
tree | 906b1480d01f9cf3628cac851050027fde929613 | |
parent | c765a5acad26ae3d86832d4153e6569d1043a9ca [diff] |
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
diff --git a/lib/Support/Annotation.cpp b/lib/Support/Annotation.cpp index fdf6dc7..9764b5e 100644 --- a/lib/Support/Annotation.cpp +++ b/lib/Support/Annotation.cpp
@@ -31,7 +31,7 @@ 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; } };