commit | 18b90afdd3d1fd5eec5b87f159f56d0610c7c374 | [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 | 3625d5401099ca0506345a2b1373a062e0d9a2cd [diff] [blame] |
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; } };