Browse Source

Animation: properly initialize all Track members.

Okay, GCC 12, this warning about an uninitialized member was actually
helpful, thank you. Too bad I didn't see it in all the useless
warning noise that you also produce.
pull/601/head
Vladimír Vondruš 3 years ago
parent
commit
4a6510b91e
  1. 2
      src/Magnum/Animation/Track.h

2
src/Magnum/Animation/Track.h

@ -145,7 +145,7 @@ template<class K, class V, class R
* functions return @cpp nullptr @ce, @ref at() always returns a
* default-constructed value.
*/
explicit Track() noexcept: _data{}, _interpolator{}, _before{}, _after{} {}
explicit Track() noexcept: _data{}, _interpolator{}, _interpolation{}, _before{}, _after{} {}
/**
* @brief Construct with custom interpolator

Loading…
Cancel
Save