File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ HashTable::~HashTable() {}
3131Handle<Value> HashTable::Constructor (const Arguments& args) {
3232 HashTable *obj;
3333
34- if (args.Length () > 0 && (* args[0 ]) ->IsInt32 ()) {
35- int buckets = (* args[0 ]) ->Int32Value ();
34+ if (args.Length () > 0 && args[0 ]->IsInt32 ()) {
35+ int buckets = args[0 ]->Int32Value ();
3636 obj = new HashTable (buckets);
3737 } else {
3838 obj = new HashTable ();
@@ -139,7 +139,7 @@ Handle<Value> HashTable::Rehash(const Arguments& args) {
139139
140140 HashTable *obj = ObjectWrap::Unwrap<HashTable>(args.This ());
141141
142- size_t buckets = (* args[0 ]) ->Int32Value ();
142+ size_t buckets = args[0 ]->Int32Value ();
143143
144144 obj->map .rehash (buckets);
145145
@@ -151,7 +151,7 @@ Handle<Value> HashTable::Reserve(const Arguments& args) {
151151
152152 HashTable *obj = ObjectWrap::Unwrap<HashTable>(args.This ());
153153
154- size_t elements = (* args[0 ]) ->Int32Value ();
154+ size_t elements = args[0 ]->Int32Value ();
155155
156156 obj->map .rehash (elements);
157157
You can’t perform that action at this time.
0 commit comments