зеркало из https://github.com/mozilla/gecko-dev.git
Make ~WeakMapBase virtual to silence MSVC. It's a destructor, probably called in concert with a delete or free(), so perf shouldn't matter, right? r=mozbot
This commit is contained in:
Родитель
d3ca4641ea
Коммит
14cb9c97c4
|
@ -137,6 +137,7 @@ template <class Key, class Value> class DefaultMarkPolicy;
|
|||
class WeakMapBase {
|
||||
public:
|
||||
WeakMapBase() : next(NULL) { }
|
||||
virtual ~WeakMapBase() { }
|
||||
|
||||
void trace(JSTracer *tracer) {
|
||||
if (IS_GC_MARKING_TRACER(tracer)) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче