mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1361900: Follow-up: Fix rebase botch. r=me
MozReview-Commit-ID: 3KIbvGYhnlG
This commit is contained in:
parent
08c1af9cc5
commit
53cf532feb
@ -258,7 +258,12 @@ public:
|
||||
public:
|
||||
Elem& operator*() { return *this; }
|
||||
|
||||
ElemType get() { return done_ ? nullptr : iter().Data(); }
|
||||
ElemType get() {
|
||||
if (done_) {
|
||||
return nullptr;
|
||||
}
|
||||
return iter().Data();
|
||||
}
|
||||
|
||||
ElemType operator->() { return get(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user