diff --git a/image.hpp b/image.hpp index 8d23c812..b63cafea 100644 --- a/image.hpp +++ b/image.hpp @@ -51,7 +51,7 @@ namespace util { namespace image { //--------------------------------------------------------------------- constexpr extent2u extent (void) const; - constexpr extent2u stride (void) const; + constexpr vector2u stride (void) const; constexpr size_t size (void) const; // elements allocated constexpr bool is_packed (void) const; diff --git a/image.ipp b/image.ipp index c1018d6b..7bc798b3 100644 --- a/image.ipp +++ b/image.ipp @@ -31,7 +31,7 @@ namespace util { namespace image { //------------------------------------------------------------------------- template - constexpr extent2u + constexpr vector2u buffer::stride (void) const { return { 1, s };