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() {
179179}
180180
181181// [[Rcpp::export]]
182- bool testNullableForNull (Nullable<NumericMatrix> M) {
182+ bool testNullableForNull (const Nullable<NumericMatrix>& M) {
183183 return M.isNull ();
184184}
185185
186186// [[Rcpp::export]]
187- bool testNullableForNotNull (Nullable<NumericMatrix> M) {
187+ bool testNullableForNotNull (const Nullable<NumericMatrix>& M) {
188188 return M.isNotNull ();
189189}
190190
191191// [[Rcpp::export]]
192- SEXP testNullableOperator (Nullable<NumericMatrix> M) {
192+ SEXP testNullableOperator (const Nullable<NumericMatrix>& M) {
193193 return M;
194194}
195195
196196// [[Rcpp::export]]
197- SEXP testNullableGet (Nullable<NumericMatrix> M) {
197+ SEXP testNullableGet (const Nullable<NumericMatrix>& M) {
198198 return M.get ();
199199}
200200
You can’t perform that action at this time.
0 commit comments