diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-23 19:27:20 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-11-23 19:27:20 +0100 |
commit | ac2504a7b0c14df00706fa575b798a2958c6497a (patch) | |
tree | 97f37a34ceb8fe255a92163e76b3a535f6e695dc /serialize/magnum-vector.cpp | |
parent | 3237eac9fe2303d7d3f6bfe65c1e21fb3f5a425d (diff) |
clean up vector serializer includes
Diffstat (limited to 'serialize/magnum-vector.cpp')
-rw-r--r-- | serialize/magnum-vector.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/serialize/magnum-vector.cpp b/serialize/magnum-vector.cpp index 151730be..23d844c8 100644 --- a/serialize/magnum-vector.cpp +++ b/serialize/magnum-vector.cpp @@ -37,6 +37,7 @@ struct vec_serializer using nlohmann::to_json; to_json(j, array); } + static void from_json(const json& j, Math::Vector<N, T>& val) { std::array<T, N> array{}; |