diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-06 17:03:05 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-06 17:07:43 +0100 |
commit | f7ce70d139effc5553c4ed2fa604724413b9d9b2 (patch) | |
tree | 5a05620ed6a65cf999b4ea0f3976b803b44504c8 /include/YAGE/yage.hpp | |
parent | 932537776012c33dcdb6ae34dbb419f13717804d (diff) | |
download | YAGE-f7ce70d139effc5553c4ed2fa604724413b9d9b2.tar.gz YAGE-f7ce70d139effc5553c4ed2fa604724413b9d9b2.zip |
Adding clang format with my style based on google
Diffstat (limited to 'include/YAGE/yage.hpp')
-rw-r--r-- | include/YAGE/yage.hpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/include/YAGE/yage.hpp b/include/YAGE/yage.hpp index 1045e12b..45c1c4d7 100644 --- a/include/YAGE/yage.hpp +++ b/include/YAGE/yage.hpp @@ -25,23 +25,16 @@ #include <stdexcept> -namespace yage -{ - -bool init() -{ - if(SDL_Init(SDL_INIT_VIDEO)) - { - return false; - } - return true; -} +namespace yage { -void quit() -{ - SDL_Quit(); +bool init() { + if (SDL_Init(SDL_INIT_VIDEO)) { + return false; + } + return true; } +void quit() { SDL_Quit(); } }; #endif |