Mark another method const. Sorry for missing this one the first time.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 10 Sep 2015 22:46:38 +0000 (22:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 10 Sep 2015 22:46:38 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247354 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/StringTableBuilder.h

index 3164351d65643ce8d123df3d1abd8548bfc19aaa..f38247702eb3f1d5dce53b6d8589f1a2010795b7 100644 (file)
@@ -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;
   }