Skip to content

Commit f77a4e7

Browse files
committed
add nocov tags
1 parent f3b9cd8 commit f77a4e7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

inst/include/Rcpp/generated/Vector__create.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -173,21 +173,21 @@
173173
}
174174

175175
template <typename T1, typename T2, typename T3>
176-
static Vector create__dispatch( traits::true_type, const T1& t1, const T2& t2, const T3& t3){
177-
Vector res( 3 ) ;
178-
Shield<SEXP> names( ::Rf_allocVector( STRSXP, 3 ) ) ;
179-
int index = 0 ;
180-
iterator it( res.begin() );
176+
static Vector create__dispatch( traits::true_type, const T1& t1, const T2& t2, const T3& t3){ // #nocov start
177+
Vector res( 3 ) ;
178+
Shield<SEXP> names( ::Rf_allocVector( STRSXP, 3 ) ) ;
179+
int index = 0 ;
180+
iterator it( res.begin() );
181181

182-
////
182+
////
183183
replace_element( it, names, index, t1 ) ; ++it; ++index ;
184184
replace_element( it, names, index, t2 ) ; ++it; ++index ;
185185
replace_element( it, names, index, t3 ) ; ++it; ++index ;
186-
////
186+
////
187187

188-
res.attr("names") = names ;
188+
res.attr("names") = names ;
189189

190-
return res ;
190+
return res ; // #nocov end
191191
}
192192

193193
public:

0 commit comments

Comments
 (0)