1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00

remove redundant template parameter

This commit is contained in:
Charles Lowell 2012-05-15 13:41:19 -05:00
parent 5a35c2bcd5
commit 42ae80285f

View file

@ -52,12 +52,12 @@ private:
*/ */
template <class T> class Ref { template <class T> class Ref {
public: public:
Ref<T>(VALUE wrapper) { Ref(VALUE wrapper) {
Holder* holder = NULL; Holder* holder = NULL;
Data_Get_Struct(wrapper, class Holder, holder) ; Data_Get_Struct(wrapper, class Holder, holder) ;
this->holder = holder; this->holder = holder;
} }
Ref<T>(v8::Handle<T> handle) { Ref(v8::Handle<T> handle) {
this->holder = new Holder(handle, Class); this->holder = new Holder(handle, Class);
} }
virtual operator VALUE() { virtual operator VALUE() {