Skip to content

Commit 324e75c

Browse files
author
Kirill Müller
committed
operator SEXP() is forwarded to get()
1 parent fbf104f commit 324e75c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

inst/include/Rcpp/Nullable.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ namespace Rcpp {
7777
* @throw 'not initialized' if object has not been set
7878
*/
7979
inline operator SEXP() const {
80-
checkIfSet();
81-
return m_sexp;
80+
return get();
8281
}
8382

8483
/**

0 commit comments

Comments
 (0)