Skip to content

Commit 9cf76af

Browse files
committed
remove redundant const_cast
1 parent a09da73 commit 9cf76af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CGData/StableFunctionMap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const StableFunctionMap::StableFunctionEntries &
139139
StableFunctionMap::at(HashFuncsMapType::key_type FunctionHash) const {
140140
auto It = HashToFuncs.find(FunctionHash);
141141
if (isLazilyLoaded())
142-
const_cast<StableFunctionMap *>(this)->deserializeLazyLoadingEntry(It);
142+
deserializeLazyLoadingEntry(It);
143143
return It->second.Entries;
144144
}
145145

0 commit comments

Comments
 (0)