From 159a7cbc3626165f1a2e38a9bf6651608a823778 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 13 Feb 2009 01:02:29 +0000 Subject: [PATCH] Fix gcc warning: gcc correctly notes that const-qualifying the return type doesn't do anything. llvm-svn: 64424 --- clang/lib/Lex/PTHLexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Lex/PTHLexer.cpp b/clang/lib/Lex/PTHLexer.cpp index 0cd17e74a4b7..9c3e076a69c1 100644 --- a/clang/lib/Lex/PTHLexer.cpp +++ b/clang/lib/Lex/PTHLexer.cpp @@ -369,8 +369,8 @@ public: unsigned getNumBuckets() const { return NumBuckets; } unsigned getNumEntries() const { return NumEntries; } - const unsigned char* const getBase() const { return Base; } - const unsigned char* const getBuckets() const { return Buckets; } + const unsigned char* getBase() const { return Base; } + const unsigned char* getBuckets() const { return Buckets; } bool isEmpty() const { return NumEntries == 0; }