From 3ee13535eb419b295cb0252e9bfa871e9f03b318 Mon Sep 17 00:00:00 2001 From: Paul Gessinger <paul.gessinger@cern.ch> Date: Mon, 23 Mar 2020 23:13:55 +0100 Subject: [PATCH] fix static assert comments --- .../CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp b/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp index 42964bf2f..1539ec6d8 100644 --- a/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp +++ b/Tests/CommonHelpers/Acts/Tests/CommonHelpers/BenchmarkTools.hpp @@ -364,7 +364,7 @@ struct MicroBenchmarkIter { concept ::exists<call_with_input_t, Callable, Input>; static inline void iter(const Callable& iteration, const Input* input) { static_assert(is_callable, - "Gave callable that is not callable without input"); + "Gave callable that is not callable with input"); if constexpr (is_callable) { using Result = std::invoke_result_t<Callable, const Input&>; MicroBenchmarkIterImpl<Callable, Input, Result>::iter(iteration, *input); @@ -380,7 +380,7 @@ struct MicroBenchmarkIter<Callable, void> { concept ::exists<call_without_input_t, Callable>; static inline void iter(const Callable& iteration, const void* = nullptr) { - static_assert(is_callable, "Gave callable that is not callable with input"); + static_assert(is_callable, "Gave callable that is not callable without input"); if constexpr (is_callable) { using Result = std::invoke_result_t<Callable>; MicroBenchmarkIterImpl<Callable, void, Result>::iter(iteration); -- GitLab