diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-05-31 08:58:37 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-05-31 09:00:37 +0200 |
commit | 43b7ebf0a0478d7b04620b03920fd82041afb588 (patch) | |
tree | 0532156ef2bdeac7cd461ffc2014ee75bd25f2a0 /core/error_macros.h | |
parent | e823a366d02cdcd8ac48f635eeb6127962aeeb2a (diff) |
Style: Apply clang-format (5.0) to some missed files
Diffstat (limited to 'core/error_macros.h')
-rw-r--r-- | core/error_macros.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/error_macros.h b/core/error_macros.h index 168b2e06fe..3587e01d54 100644 --- a/core/error_macros.h +++ b/core/error_macros.h @@ -311,14 +311,14 @@ extern bool _err_error_exists; _err_error_exists = false; \ } -#define WARN_DEPRECATED \ - { \ - static bool warning_shown=false;\ - if (!warning_shown) {\ - _err_print_error(FUNCTION_STR, __FILE__, __LINE__,"This method has been deprecated and will be removed in the future", ERR_HANDLER_WARNING); \ - _err_error_exists = false; \ - warning_shown=true;\ - }\ +#define WARN_DEPRECATED \ + { \ + static bool warning_shown = false; \ + if (!warning_shown) { \ + _err_print_error(FUNCTION_STR, __FILE__, __LINE__, "This method has been deprecated and will be removed in the future", ERR_HANDLER_WARNING); \ + _err_error_exists = false; \ + warning_shown = true; \ + } \ } #endif |