aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorRiku Isokoski <riksu9000@gmail.com>2023-01-25 11:24:38 +0200
committerRiku Isokoski <riksu9000@gmail.com>2023-02-16 09:13:58 +0200
commit6dc49e5bdb86ffd5730eb10eb9c477276e79923c (patch)
treeb1241ee8c63c42ef8589bdce88566476519cd5df /src/components
parent512ebf07043510930256e3c12498046b510ef8a1 (diff)
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.
Diffstat (limited to 'src/components')
-rw-r--r--src/components/utility/LinearApproximation.h3
1 files changed, 2 insertions, 1 deletions
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 <typename Key, typename Value, std::size_t Size> class LinearApproximation {
+ template <typename Key, typename Value, std::size_t Size>
+ class LinearApproximation {
using Point = struct {
Key key;
Value value;