From 2de82f30418a8fdfc442d3fc6c04b0f8787aab4f Mon Sep 17 00:00:00 2001 From: Allison Vacanti Date: Thu, 7 Oct 2021 16:22:11 -0400 Subject: [PATCH] Style. --- nvbench/benchmark_base.cuh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nvbench/benchmark_base.cuh b/nvbench/benchmark_base.cuh index 2261b31..092e38b 100644 --- a/nvbench/benchmark_base.cuh +++ b/nvbench/benchmark_base.cuh @@ -153,15 +153,12 @@ struct benchmark_base void run() { this->do_run(); } - void set_printer(nvbench::printer_base& printer) + void set_printer(nvbench::printer_base &printer) { m_printer = std::ref(printer); } - void clear_printer() - { - m_printer = std::nullopt; - } + void clear_printer() { m_printer = std::nullopt; } [[nodiscard]] optional_ref get_printer() const {