diff options
Diffstat (limited to 'src/components/utility/LinearApproximation.h')
| -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; |
