Skip to content

Commit 6218ce6

Browse files
author
Qiang Kou
committed
fixed httpuv
1 parent dbd9436 commit 6218ce6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/include/Rcpp/vector/Vector.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ class Vector :
124124
init() ;
125125
}
126126

127+
Vector( const size_t& size ) {
128+
Storage::set__( Rf_allocVector( RTYPE, size) ) ;
129+
init() ;
130+
}
131+
127132
Vector( const int& size ) {
128133
Storage::set__( Rf_allocVector( RTYPE, size) ) ;
129134
init() ;

0 commit comments

Comments
 (0)