From b179149597d9f655c556535f1a7cf191c5be4fd8 Mon Sep 17 00:00:00 2001 From: light7734 Date: Sat, 20 Sep 2025 06:08:53 +0330 Subject: [PATCH] fix(debug): ensure taking in Expression_T by copy --- modules/debug/public/assertions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/debug/public/assertions.hpp b/modules/debug/public/assertions.hpp index bb55f79..62a2d15 100644 --- a/modules/debug/public/assertions.hpp +++ b/modules/debug/public/assertions.hpp @@ -10,7 +10,7 @@ template struct ensure { ensure( - Expression_T expression, + const Expression_T &expression, std::format_string fmt, Args_T &&...args, const std::source_location &location = std::source_location::current()