diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-12-08 00:45:02 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-12-08 00:45:02 +0000 |
commit | 28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf (patch) | |
tree | 906b1480d01f9cf3628cac851050027fde929613 /lib/Support/Annotation.cpp | |
parent | c765a5acad26ae3d86832d4153e6569d1043a9ca (diff) | |
download | external_llvm-28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf.zip external_llvm-28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf.tar.gz external_llvm-28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf.tar.bz2 |
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
Diffstat (limited to 'lib/Support/Annotation.cpp')
-rw-r--r-- | lib/Support/Annotation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; } }; |