Skip to content

Commit 3fa6ca0

Browse files
eddelbuettelkrlmlr
authored andcommitted
make Rcpp_unprotect a void function
1 parent 4c4721a commit 3fa6ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/protection/Shield.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Rcpp{
2525
return x ;
2626
}
2727

28-
inline SEXP Rcpp_unprotect(int i){
28+
inline void Rcpp_unprotect(int i){
2929
UNPROTECT(i);
3030
}
3131

0 commit comments

Comments
 (0)