summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
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
commitd745adedd7d06981e8fec333da008c6bf8ec8678 (patch)
tree99c597a40697a9c47ee011c29f0ebe451c52ce47 /llvm/lib/Support
parent14aa673e70ed9409a5df1dbd74e99eaef3c5e1aa (diff)
downloadbcm5719-llvm-d745adedd7d06981e8fec333da008c6bf8ec8678.tar.gz
bcm5719-llvm-d745adedd7d06981e8fec333da008c6bf8ec8678.zip
Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev!
llvm-svn: 60679
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/Annotation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Annotation.cpp b/llvm/lib/Support/Annotation.cpp
index fdf6dc717f4..9764b5e829d 100644
--- a/llvm/lib/Support/Annotation.cpp
+++ b/llvm/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;
}
};
OpenPOWER on IntegriCloud