This commit is contained in:
parent
923dd11fd8
commit
aa9f63acfe
@ -35,12 +35,14 @@ struct TestActor final : public td::Actor {
|
||||
|
||||
td::int32 TestActor::actor_count_;
|
||||
|
||||
namespace td {
|
||||
template <>
|
||||
class td::ActorTraits<TestActor> {
|
||||
class ActorTraits<TestActor> {
|
||||
public:
|
||||
static constexpr bool need_context = false;
|
||||
static constexpr bool need_start_up = true;
|
||||
};
|
||||
} // namespace td
|
||||
|
||||
class CreateActorBench final : public td::Benchmark {
|
||||
td::ConcurrentScheduler scheduler_;
|
||||
|
Loading…
Reference in New Issue
Block a user