From 6dc49e5bdb86ffd5730eb10eb9c477276e79923c Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Wed, 25 Jan 2023 11:24:38 +0200 Subject: clang-format: Always break template declarations I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for. --- src/components/utility/LinearApproximation.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/components/utility/LinearApproximation.h') diff --git a/src/components/utility/LinearApproximation.h b/src/components/utility/LinearApproximation.h index f7104ced..1fe58d44 100644 --- a/src/components/utility/LinearApproximation.h +++ b/src/components/utility/LinearApproximation.h @@ -7,7 +7,8 @@ namespace Pinetime { namespace Utility { // based on: https://github.com/SHristov92/LinearApproximation/blob/main/Linear.h - template class LinearApproximation { + template + class LinearApproximation { using Point = struct { Key key; Value value; -- cgit v1.2.3-70-g09d2