Skip to content

Commit

Permalink
Iterate by reference steemit#1161
Browse files Browse the repository at this point in the history
  • Loading branch information
theoreticalbts committed Jun 7, 2017
1 parent 86a4cd5 commit f62d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/plugins/tags/tags_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ struct operation_visitor {

auto meta = filter_tags( c );

for( auto tag : meta.tags )
for( const string& tag : meta.tags )
{
_db.modify( get_stats( tag ), [&]( tag_stats_object& ts )
{
Expand Down

0 comments on commit f62d92f

Please sign in to comment.