Skip to content

Commit 64ef2a7

Browse files
committed
fix issue #62.
1 parent 73484df commit 64ef2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sparsepp/spp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3234,7 +3234,7 @@ class sparse_hashtable
32343234
std::pair<iterator, bool> insert(P &&obj)
32353235
{
32363236
_resize_delta(1); // adding an object, grow if need be
3237-
value_type val(std::forward<value_type>(obj));
3237+
value_type val(std::forward<P>(obj));
32383238
return _insert_noresize(val);
32393239
}
32403240
#endif

0 commit comments

Comments
 (0)