Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 17, 2024
1 parent 1aaf423 commit cf61ca0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/actor/actor.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ TEST(Actor, DestructionBlocksOnSend) {

~TestScheduler() override { EXPECT_TRUE(waited.load()); }

void waitForEmpty(const void*) override {
assert(false);
}
void waitForEmpty(const void*) override { assert(false); }

void schedule(std::function<void()>&&) final {
promise.set_value();
Expand All @@ -102,9 +100,7 @@ TEST(Actor, DestructionBlocksOnSend) {
waited = true;
}

void schedule(const void*, std::function<void()>&& fn) final {
schedule(std::move(fn));
}
void schedule(const void*, std::function<void()>&& fn) final { schedule(std::move(fn)); }

mapbox::base::WeakPtr<Scheduler> makeWeakPtr() override { return weakFactory.makeWeakPtr(); }
};
Expand Down

0 comments on commit cf61ca0

Please sign in to comment.