Skip to content

Commit bbfe71c

Browse files
committed
fix from review
1 parent 9f6c4ed commit bbfe71c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

llvm/include/llvm/ADT/StringTable.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,10 @@ class StringTable {
122122
return O == RHS.O;
123123
}
124124

125-
const StringRef &operator*() const { return (S = (*Table)[O]); }
125+
const StringRef &operator*() const {
126+
S = (*Table)[O];
127+
return S;
128+
}
126129

127130
Iterator &operator++() {
128131
O = O.value() + (*Table)[O].size() + 1;

0 commit comments

Comments
 (0)