fix(debug): ensure taking in Expression_T by copy

This commit is contained in:
light7734 2025-09-20 06:08:53 +03:30
parent ca29c61521
commit b179149597
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -10,7 +10,7 @@ template<typename Expression_T, typename... Args_T>
struct ensure
{
ensure(
Expression_T expression,
const Expression_T &expression,
std::format_string<Args_T...> fmt,
Args_T &&...args,
const std::source_location &location = std::source_location::current()