summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-07-18 16:24:33 +0200
committerRémi Verschelde <rverschelde@gmail.com>2018-07-18 16:27:03 +0200
commit7c9f7452f4fd775ff80dbdfc27a6bfa07a1e8fcc (patch)
tree008b7c8a8d90308a0f99587413b3b7633ba82e85 /core
parentce53876a444974d091da8a3ba77e16101ed2ff67 (diff)
Style: Format code with clang-format 6.0.1
Diffstat (limited to 'core')
-rw-r--r--core/dvector.h2
-rw-r--r--core/typedefs.h6
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))