Another fix of -Wqual-const warning.

llvm-svn: 251259
This commit is contained in:
George Rimar 2015-10-25 20:14:07 +00:00
parent 10a6e70408
commit f940d5918f
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ void MergeOutputSection<ELFT>::addSection(MergeInputSection<ELFT> *S) {
this->Header.sh_addralign = Align;
ArrayRef<uint8_t> D = S->getSectionData();
StringRef Data((char *)D.data(), D.size());
StringRef Data((const char *)D.data(), D.size());
uintX_t EntSize = S->getSectionHdr()->sh_entsize;
uintX_t Offset = 0;