Skip to content

Commit f78b08b

Browse files
committed
And performance tweaking for as()
1 parent 8dde488 commit f78b08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/Nullable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ namespace Rcpp {
119119
/**
120120
* Returns m_sexp as a T
121121
*/
122-
inline T as() { return Rcpp::as< T >(get()); }
122+
inline T as() { return get(); }
123123

124124
/**
125125
* Return a clone of m_sexp as a T

0 commit comments

Comments
 (0)