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:
parent
5a35c2bcd5
commit
42ae80285f
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue