From: Rafael Espindola Date: Thu, 10 Sep 2015 22:46:38 +0000 (+0000) Subject: Mark another method const. Sorry for missing this one the first time. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0df4288be222341c787b9cd0f7d1ca33e8feb0b7;p=oota-llvm.git Mark another method const. Sorry for missing this one the first time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247354 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/StringTableBuilder.h b/include/llvm/MC/StringTableBuilder.h index 3164351d656..f38247702eb 100644 --- a/include/llvm/MC/StringTableBuilder.h +++ b/include/llvm/MC/StringTableBuilder.h @@ -41,7 +41,7 @@ public: /// \brief Retrieve the string table data. Can only be used after the table /// is finalized. - StringRef data() { + StringRef data() const { assert(isFinalized()); return StringTable; }