[caching/metadata_dump] valid_blocks should have been passed by reference

This commit is contained in:
Joe Thornber 2013-10-10 11:27:34 +01:00
parent 8af2f0cb1f
commit b443000a29

View File

@ -64,7 +64,7 @@ namespace {
class hint_emitter : public hint_visitor {
public:
hint_emitter(emitter::ptr e, set<block_address> valid_blocks)
hint_emitter(emitter::ptr e, set<block_address> &valid_blocks)
: e_(e),
valid_blocks_(valid_blocks) {
}