diff options
Diffstat (limited to 'benchmark')
| -rw-r--r-- | benchmark/bench_actor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/bench_actor.cpp b/benchmark/bench_actor.cpp index dee1d8aac..cd70c59c7 100644 --- a/benchmark/bench_actor.cpp +++ b/benchmark/bench_actor.cpp @@ -87,7 +87,7 @@ class RingBench final : public td::Benchmark { public: td::string get_description() const final { static const char *types[] = {"later", "immediate", "raw", "tail", "lambda"}; - static_assert(0 <= type && type < 5, ""); + static_assert(0 <= type && type < 5); return PSTRING() << "Ring (send_" << types[type] << ") (threads_n = " << thread_n_ << ")"; } @@ -174,7 +174,7 @@ class QueryBench final : public td::Benchmark { public: td::string get_description() const final { static const char *types[] = {"callback", "immediate future", "delayed future", "dummy", "lambda", "lambda_future"}; - static_assert(0 <= type && type < 6, ""); + static_assert(0 <= type && type < 6); return PSTRING() << "QueryBench: " << types[type]; } |
