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.
1 parent f6591c3 commit 8818c86Copy full SHA for 8818c86
1 file changed
inst/include/Rcpp/DataFrame.h
@@ -67,7 +67,7 @@ namespace Rcpp{
67
// discussed in #1430 is also possible and preferable. We also switch
68
// to returning R_xlen_t which as upcast from int is safe
69
inline R_xlen_t nrow() const {
70
- Shield<SEXP> rn = Rf_getAttrib(Parent::get__(), R_RowNamesSymbol);
+ Shield<SEXP> rn{Rf_getAttrib(Parent::get__(), R_RowNamesSymbol)};
71
return Rf_xlength(rn);
72
}
73
0 commit comments