Mercurial > malikania
changeset 108:2562eb64860d
Common: update style in size.hpp
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 05 Sep 2017 13:49:46 +0200 |
parents | 6f4965c26ceb |
children | c8bc2c7f2929 |
files | libcommon/malikania/size.hpp |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/libcommon/malikania/size.hpp Tue Sep 05 13:33:57 2017 +0200 +++ b/libcommon/malikania/size.hpp Tue Sep 05 13:49:46 2017 +0200 @@ -28,8 +28,8 @@ */ class size { private: - unsigned m_width; - unsigned m_height; + unsigned width_; + unsigned height_; public: /** @@ -39,8 +39,8 @@ * \param height the size height */ inline size(unsigned width = 0, unsigned height = 0) noexcept - : m_width(width) - , m_height(height) + : width_(width) + , height_(height) { } @@ -51,7 +51,7 @@ */ inline unsigned width() const noexcept { - return m_width; + return width_; } /** @@ -61,7 +61,7 @@ */ inline unsigned height() const noexcept { - return m_height; + return height_; } /** @@ -71,7 +71,7 @@ */ inline bool is_null() const noexcept { - return m_height == 0 && m_width == 0; + return height_ == 0 && width_ == 0; } };