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.
This commit is contained in:
Riku Isokoski
2023-01-25 11:24:38 +02:00
parent 512ebf0704
commit 6dc49e5bdb
5 changed files with 17 additions and 9 deletions

View File

@@ -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;