Skip to content

Commit

Permalink
Shield<> before CharacterVector ctor, until RcppCore/Rcpp#947 gets me…
Browse files Browse the repository at this point in the history
…rged in Rcpp.
  • Loading branch information
romainfrancois committed Mar 15, 2019
1 parent 238c073 commit 972f423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/include/dplyr/data/DataMask.h
Expand Up @@ -348,7 +348,7 @@ class DataMask {
// - delays setting up the environment until needed
DataMask(const SlicedTibble& gdf) :
column_bindings(),
symbol_map(gdf.data().size(), Rf_getAttrib(gdf.data(), symbols::names)),
symbol_map(gdf.data().size(), Rcpp::Shield<SEXP>(Rf_getAttrib(gdf.data(), symbols::names))),
active_bindings_ready(false),
proxy(new DataMaskProxy<SlicedTibble>(this))
{
Expand Down

0 comments on commit 972f423

Please sign in to comment.