We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 032d307 + 89cb334 commit 6886a43Copy full SHA for 6886a43
inst/include/Rcpp/Environment.h
@@ -407,7 +407,7 @@ namespace Rcpp{
407
/**
408
* creates a new environment whose this is the parent
409
*/
410
- Environment_Impl new_child(bool hashed) {
+ Environment_Impl new_child(bool hashed) const {
411
SEXP newEnvSym = Rf_install("new.env");
412
return Environment_Impl( Rcpp_eval(Rf_lang3( newEnvSym, Rf_ScalarLogical(hashed), Storage::get__() )) );
413
}
0 commit comments