Skip to content

Commit 5432ae0

Browse files
making solaris happy
1 parent 8cc00cf commit 5432ae0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

inst/include/Rcpp/r_cast.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ namespace Rcpp{
4343
template <int TARGET>
4444
SEXP r_true_cast( SEXP x) {
4545
throw not_compatible( "not compatible" ) ;
46+
return x ; // makes solaris happy
4647
}
4748

4849
template <int RTYPE>

0 commit comments

Comments
 (0)