Skip to content

Commit

Permalink
make Rcpp_unprotect a void function
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Aug 18, 2018
1 parent 4c4721a commit 0df99c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/Rcpp/protection/Shield.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Rcpp{
return x ;
}

inline SEXP Rcpp_unprotect(int i){
inline void Rcpp_unprotect(int i){
UNPROTECT(i);
}

Expand Down

0 comments on commit 0df99c8

Please sign in to comment.