diff options
author | Max Kellermann <max@duempel.org> | 2014-07-14 16:44:43 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-14 16:44:43 +0200 |
commit | 3c5cf9500d80a7dac52cb44c9bc58ee20a3d0f86 (patch) | |
tree | 63bc135932f337b291bd72ada1fe1e418198c609 /src/util/Cast.hxx | |
parent | 7a1f3177c92556c4ca224d28fc881686845c5052 (diff) |
util/Cast: fix indent
Diffstat (limited to 'src/util/Cast.hxx')
-rw-r--r-- | src/util/Cast.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/Cast.hxx b/src/util/Cast.hxx index 680f81704..78dbdea83 100644 --- a/src/util/Cast.hxx +++ b/src/util/Cast.hxx @@ -68,14 +68,14 @@ template<class C, class A> static constexpr inline ptrdiff_t ContainerAttributeOffset(const C *null_c, const A C::*p) { - return ptrdiff_t((const char *)null_c - (const char *)&(null_c->*p)); + return ptrdiff_t((const char *)null_c - (const char *)&(null_c->*p)); } template<class C, class A> static constexpr inline ptrdiff_t ContainerAttributeOffset(const A C::*p) { - return ContainerAttributeOffset<C, A>(nullptr, p); + return ContainerAttributeOffset<C, A>(nullptr, p); } /** @@ -88,7 +88,7 @@ constexpr static inline C & ContainerCast(A &a, A C::*member) { - return *OffsetCast<C, A>(&a, ContainerAttributeOffset<C, A>(member)); + return *OffsetCast<C, A>(&a, ContainerAttributeOffset<C, A>(member)); } #endif |