Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion inst/include/Rcpp/Environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ namespace Rcpp{
/**
* creates a new environment whose this is the parent
*/
Environment_Impl new_child(bool hashed) {
Environment_Impl new_child(bool hashed) const {
SEXP newEnvSym = Rf_install("new.env");
return Environment_Impl( Rcpp_eval(Rf_lang3( newEnvSym, Rf_ScalarLogical(hashed), Storage::get__() )) );
}
Expand Down