зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1061909 followup: Add missing 'override' keyword to count() methods in DebuggerMemory.cpp. rs=ehsan
This commit is contained in:
Родитель
737bf23f72
Коммит
a04fe48b1f
|
@ -943,7 +943,7 @@ class ByUbinodeType : public CountType {
|
|||
count.~Count();
|
||||
}
|
||||
|
||||
bool count(CountBase& countBase, const Node& node) {
|
||||
bool count(CountBase& countBase, const Node& node) override {
|
||||
Count& count = static_cast<Count&>(countBase);
|
||||
count.total_++;
|
||||
|
||||
|
@ -1084,7 +1084,7 @@ class ByAllocationStack : public CountType {
|
|||
count.~Count();
|
||||
}
|
||||
|
||||
bool count(CountBase& countBase, const Node& node) {
|
||||
bool count(CountBase& countBase, const Node& node) override {
|
||||
Count& count = static_cast<Count&>(countBase);
|
||||
count.total_++;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче