Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
panquez committed Mar 20, 2020
1 parent 09a4738 commit b51f9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/geode/basic/attribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ namespace geode
void delete_elements( const std::vector< bool >& to_delete,
AttributeBase::AttributeKey ) override
{
std::vector< bool > to_keep( to_delete.begin(), to_delete.end() );
std::vector< bool > to_keep( to_delete );
to_keep.flip();
values_ = extract_vector_elements( to_keep, values_ );
values_.reserve( 10 );
Expand Down Expand Up @@ -558,7 +558,7 @@ namespace geode
void delete_elements( const std::vector< bool >& to_delete,
AttributeBase::AttributeKey ) override
{
std::vector< bool > to_keep( to_delete.begin(), to_delete.end() );
std::vector< bool > to_keep( to_delete );
to_keep.flip();
values_ = extract_vector_elements( to_keep, values_ );
values_.reserve( 10 );
Expand Down

0 comments on commit b51f9cb

Please sign in to comment.