diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-10 00:29:21 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-04-18 18:13:05 +0300 |
commit | e7f446e1edcc6afc47287d49030280e335fe6838 (patch) | |
tree | 761261f83a0d18dd63bf4da2a0fc2dc983ea95d8 /include | |
parent | 9c907813321612e245ecdd25950959e8efbe9872 (diff) |
libcamera: geometry: Sort classes alphabetically
Move the Size class before the SizeRange class. No functional change.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/geometry.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/include/libcamera/geometry.h b/include/libcamera/geometry.h index f41017aa..7704ab5a 100644 --- a/include/libcamera/geometry.h +++ b/include/libcamera/geometry.h @@ -21,6 +21,21 @@ struct Rectangle { const std::string toString() const; }; +struct Size { + Size() + : Size(0, 0) + { + } + + Size(unsigned int w, unsigned int h) + : width(w), height(h) + { + } + + unsigned int width; + unsigned int height; +}; + struct SizeRange { SizeRange() : SizeRange(0, 0, 0, 0) @@ -40,21 +55,6 @@ struct SizeRange { unsigned int maxHeight; }; -struct Size { - Size() - : Size(0, 0) - { - } - - Size(unsigned int w, unsigned int h) - : width(w), height(h) - { - } - - unsigned int width; - unsigned int height; -}; - } /* namespace libcamera */ #endif /* __LIBCAMERA_GEOMETRY_H__ */ |