зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 9795dacd97e1 (bug 1361900)
This commit is contained in:
Родитель
9c58d83d6f
Коммит
68e5b1d383
|
@ -258,12 +258,7 @@ public:
|
|||
public:
|
||||
Elem& operator*() { return *this; }
|
||||
|
||||
ElemType get() {
|
||||
if (done_) {
|
||||
return nullptr;
|
||||
}
|
||||
return iter().Data();
|
||||
}
|
||||
ElemType get() { return done_ ? nullptr : iter().Data(); }
|
||||
|
||||
ElemType operator->() { return get(); }
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче