diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-07-18 16:24:33 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-07-18 16:27:03 +0200 |
commit | 7c9f7452f4fd775ff80dbdfc27a6bfa07a1e8fcc (patch) | |
tree | 008b7c8a8d90308a0f99587413b3b7633ba82e85 /core | |
parent | ce53876a444974d091da8a3ba77e16101ed2ff67 (diff) |
Style: Format code with clang-format 6.0.1
Diffstat (limited to 'core')
-rw-r--r-- | core/dvector.h | 2 | ||||
-rw-r--r-- | core/typedefs.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/dvector.h b/core/dvector.h index c0190fb9e3..e03a755e6c 100644 --- a/core/dvector.h +++ b/core/dvector.h @@ -150,7 +150,7 @@ class PoolVector { } if (old_alloc->refcount.unref() == true) { - //this should never happen but.. + //this should never happen but.. #ifdef DEBUG_ENABLED MemoryPool::alloc_mutex->lock(); diff --git a/core/typedefs.h b/core/typedefs.h index 4758a5408d..4f3c260c2c 100644 --- a/core/typedefs.h +++ b/core/typedefs.h @@ -74,7 +74,7 @@ T *_nullptr() { #define OFFSET_OF(st, m) \ ((size_t)((char *)&(_nullptr<st>()->m) - (char *)0)) - /** +/** * Some platforms (devices) not define NULL */ @@ -82,7 +82,7 @@ T *_nullptr() { #define NULL 0 #endif - /** +/** * Windows defines a lot of badly stuff we'll never ever use. undefine it. */ @@ -104,7 +104,7 @@ T *_nullptr() { #include "error_list.h" #include "error_macros.h" - /** Generic ABS function, for math uses please use Math::abs */ +/** Generic ABS function, for math uses please use Math::abs */ #ifndef ABS #define ABS(m_v) ((m_v < 0) ? (-(m_v)) : (m_v)) |