From 0df4288be222341c787b9cd0f7d1ca33e8feb0b7 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 10 Sep 2015 22:46:38 +0000 Subject: [PATCH] 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 --- include/llvm/MC/StringTableBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.34.1