Skip to content

Commit 8dde488

Browse files
committed
Performance enhancements
1 parent d796a2a commit 8dde488

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
@@ -124,7 +124,7 @@ namespace Rcpp {
124124
/**
125125
* Return a clone of m_sexp as a T
126126
*/
127-
inline T clone() const { return Rcpp::clone(Rcpp::as< T >(get())); }
127+
inline T clone() const { return Rcpp::clone(get()); }
128128

129129
private:
130130
SEXP m_sexp;

0 commit comments

Comments
 (0)