1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Make an obviously const interface actually be marked as const.

llvm-svn: 145009
This commit is contained in:
Chandler Carruth 2011-11-20 11:22:03 +00:00
parent 1967d4e20b
commit f191cab95f

View File

@ -42,7 +42,7 @@ public:
uint32_t getDenominator() const { return D; }
// Return (1 - Probability).
BranchProbability getCompl() {
BranchProbability getCompl() const {
return BranchProbability(D - N, D);
}