File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -179,22 +179,22 @@ void test_stop_variadic() {
179
179
}
180
180
181
181
// [[Rcpp::export]]
182
- bool testNullableForNull (Nullable<NumericMatrix> M) {
182
+ bool testNullableForNull (const Nullable<NumericMatrix>& M) {
183
183
return M.isNull ();
184
184
}
185
185
186
186
// [[Rcpp::export]]
187
- bool testNullableForNotNull (Nullable<NumericMatrix> M) {
187
+ bool testNullableForNotNull (const Nullable<NumericMatrix>& M) {
188
188
return M.isNotNull ();
189
189
}
190
190
191
191
// [[Rcpp::export]]
192
- SEXP testNullableOperator (Nullable<NumericMatrix> M) {
192
+ SEXP testNullableOperator (const Nullable<NumericMatrix>& M) {
193
193
return M;
194
194
}
195
195
196
196
// [[Rcpp::export]]
197
- SEXP testNullableGet (Nullable<NumericMatrix> M) {
197
+ SEXP testNullableGet (const Nullable<NumericMatrix>& M) {
198
198
return M.get ();
199
199
}
200
200
You can’t perform that action at this time.
0 commit comments