Bug 1361900: Follow-up: Fix rebase botch. r=me

MozReview-Commit-ID: 3KIbvGYhnlG
This commit is contained in:
Kris Maglione 2017-05-12 14:59:34 -07:00
parent 08c1af9cc5
commit 53cf532feb

View File

@ -258,7 +258,12 @@ public:
public: public:
Elem& operator*() { return *this; } Elem& operator*() { return *this; }
ElemType get() { return done_ ? nullptr : iter().Data(); } ElemType get() {
if (done_) {
return nullptr;
}
return iter().Data();
}
ElemType operator->() { return get(); } ElemType operator->() { return get(); }