diff --git a/js/js2/gc_allocator.h b/js/js2/gc_allocator.h index 2eb685587ef..e56b6e2dd7e 100644 --- a/js/js2/gc_allocator.h +++ b/js/js2/gc_allocator.h @@ -120,7 +120,7 @@ namespace JavaScript { typedef const T &const_reference; gc_allocator() {} - // template gc_allocator(const gc_allocator&) {} + template gc_allocator(const gc_allocator&) {} // ~gc_allocator() {} static pointer address(reference r) { return &r; } diff --git a/js2/src/gc_allocator.h b/js2/src/gc_allocator.h index 2eb685587ef..e56b6e2dd7e 100644 --- a/js2/src/gc_allocator.h +++ b/js2/src/gc_allocator.h @@ -120,7 +120,7 @@ namespace JavaScript { typedef const T &const_reference; gc_allocator() {} - // template gc_allocator(const gc_allocator&) {} + template gc_allocator(const gc_allocator&) {} // ~gc_allocator() {} static pointer address(reference r) { return &r; }