From 02a970448702ed4a19f129c396bb80ea0566e3d0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 11 May 2017 02:01:37 +0300 Subject: utils: code style --- utils/helpers/bmp.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/helpers/bmp.hpp b/utils/helpers/bmp.hpp index dc3cdac..262198d 100644 --- a/utils/helpers/bmp.hpp +++ b/utils/helpers/bmp.hpp @@ -28,9 +28,15 @@ namespace bmp std::size_t get_header_size() const { return header_size; } - const void* get_pixels() const { return buffer.data() + get_header_size(); } + const void* get_pixels() const + { + return buffer.data() + get_header_size(); + } - std::size_t get_pixels_size() const { return get_size() - get_header_size(); } + std::size_t get_pixels_size() const + { + return get_size() - get_header_size(); + } void replace_pixels(std::vector&& pixels) { -- cgit v1.2.3