fix(debug): ensure taking in Expression_T by copy
This commit is contained in:
parent
ca29c61521
commit
b179149597
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ template<typename Expression_T, typename... Args_T>
|
||||||
struct ensure
|
struct ensure
|
||||||
{
|
{
|
||||||
ensure(
|
ensure(
|
||||||
Expression_T expression,
|
const Expression_T &expression,
|
||||||
std::format_string<Args_T...> fmt,
|
std::format_string<Args_T...> fmt,
|
||||||
Args_T &&...args,
|
Args_T &&...args,
|
||||||
const std::source_location &location = std::source_location::current()
|
const std::source_location &location = std::source_location::current()
|
||||||
|
|
Loading…
Add table
Reference in a new issue