From aa49abdf239bae6065fddd0839ec67a404c9748c Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 15 Sep 2025 21:15:53 +0200 Subject: Add .clang-format Make it easier to keep a consistent style --- src/check.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/check.hh') diff --git a/src/check.hh b/src/check.hh index be65437..91c1717 100644 --- a/src/check.hh +++ b/src/check.hh @@ -7,8 +7,8 @@ namespace check { -template -requires std::is_arithmetic_v +template + requires std::is_arithmetic_v T add(T a, T b) { T ret; if (ckd_add(&ret, a, b)) @@ -16,8 +16,8 @@ T add(T a, T b) { return ret; } -template -requires std::is_arithmetic_v +template + requires std::is_arithmetic_v T sub(T a, T b) { T ret; if (ckd_sub(&ret, a, b)) @@ -25,8 +25,8 @@ T sub(T a, T b) { return ret; } -template -requires std::is_arithmetic_v +template + requires std::is_arithmetic_v T mul(T a, T b) { T ret; if (ckd_mul(&ret, a, b)) -- cgit v1.3