summaryrefslogtreecommitdiffstats
path: root/lib/Support/Annotation.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-12-08 00:45:02 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-12-08 00:45:02 +0000
commit28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf (patch)
tree906b1480d01f9cf3628cac851050027fde929613 /lib/Support/Annotation.cpp
parentc765a5acad26ae3d86832d4153e6569d1043a9ca (diff)
downloadexternal_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.cpp2
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;
}
};