1
0
mirror of https://github.com/Zygo/bees.git synced 2025-07-02 08:42:27 +02:00

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>
This commit is contained in:
Zygo Blaxell
2018-06-18 18:20:25 -04:00
parent 1beb61fb78
commit 8bc4bee8a3
2 changed files with 2 additions and 13 deletions

View File

@ -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();
}