diff --git a/src/include/nanobench.h b/src/include/nanobench.h index a66a548..c5379e7 100644 --- a/src/include/nanobench.h +++ b/src/include/nanobench.h @@ -1962,7 +1962,7 @@ ANKERL_NANOBENCH(IGNORE_PADDED_PUSH) struct IterationLogic::Impl { enum class State { warmup, upscaling_runtime, measuring, endless }; - Impl(Bench const& bench) + explicit Impl(Bench const& bench) : mBench(bench) , mResult(bench.config()) { printStabilityInformationOnce(mBench.output());