From a33a454a2d4fc8ab08e8e36d2bfbc27da19ee7c4 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk <21087696+oleksandr-pavlyk@users.noreply.github.com> Date: Mon, 2 Feb 2026 14:42:07 -0600 Subject: [PATCH] Make skip_hot_measurement method const --- nvbench/state.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvbench/state.cuh b/nvbench/state.cuh index d815df7..f71cbeb 100644 --- a/nvbench/state.cuh +++ b/nvbench/state.cuh @@ -306,7 +306,7 @@ private: std::optional device, std::size_t type_config_index); - bool skip_hot_measurement() { return get_run_once() || get_skip_batched(); } + [[nodiscard]] bool skip_hot_measurement() const { return get_run_once() || get_skip_batched(); } std::reference_wrapper m_benchmark; nvbench::named_values m_axis_values;