aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-11 02:01:37 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-11 02:01:37 +0300
commit02a970448702ed4a19f129c396bb80ea0566e3d0 (patch)
treea702affe662ad6c5f19ef0fe92da9cadfde3b945 /utils
parentutils: exceptions instead of asserts (diff)
downloadaes-tools-02a970448702ed4a19f129c396bb80ea0566e3d0.tar.gz
aes-tools-02a970448702ed4a19f129c396bb80ea0566e3d0.zip
utils: code style
Diffstat (limited to 'utils')
-rw-r--r--utils/helpers/bmp.hpp10
1 files changed, 8 insertions, 2 deletions
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<unsigned char>&& pixels)
{