crucible: progress: drop the set() method

set() was broken and redundant.  Calling hold() and discarding the
returned object has the correct effect.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell committed 2018-09-14 23:49:54 -04:00
1 Ursprung 1beb61fb78
Commit 8bc4bee8a3
2 Dateien geändert
+2 -13

Keine Dateien entsprechen Ihrer Suche

+1 -1
Datei anzeigen
@@ -1100,7 +1100,7 @@ BeesCrawl::hold_state(const BeesFileRange &bfr)
void
BeesCrawl::set_state(const BeesCrawlState &bcs)
{
m_state.set(bcs);
m_state.hold(bcs);
m_ctx->roots()->crawl_state_set_dirty();
}