diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2023-01-25 11:24:38 +0200 |
|---|---|---|
| committer | Riku Isokoski <riksu9000@gmail.com> | 2023-02-16 09:13:58 +0200 |
| commit | 6dc49e5bdb86ffd5730eb10eb9c477276e79923c (patch) | |
| tree | b1241ee8c63c42ef8589bdce88566476519cd5df /src/components/utility | |
| parent | 512ebf07043510930256e3c12498046b510ef8a1 (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/utility')
| -rw-r--r-- | src/components/utility/LinearApproximation.h | 3 |
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; |
