From 28ea4f6c070f3d7eb75291a64cf75f1e7af6eadf Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Mon, 8 Dec 2008 00:45:02 +0000 Subject: 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 --- lib/Support/Annotation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Support/Annotation.cpp') diff --git a/lib/Support/Annotation.cpp b/lib/Support/Annotation.cpp index fdf6dc717f..9764b5e829 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; } }; -- cgit v1.2.3-18-g5258