From 3c5cf9500d80a7dac52cb44c9bc58ee20a3d0f86 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 14 Jul 2014 16:44:43 +0200 Subject: [PATCH] util/Cast: fix indent --- src/util/Cast.hxx | 6 +++--- 1 file 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 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 static constexpr inline ptrdiff_t ContainerAttributeOffset(const A C::*p) { - return ContainerAttributeOffset(nullptr, p); + return ContainerAttributeOffset(nullptr, p); } /** @@ -88,7 +88,7 @@ constexpr static inline C & ContainerCast(A &a, A C::*member) { - return *OffsetCast(&a, ContainerAttributeOffset(member)); + return *OffsetCast(&a, ContainerAttributeOffset(member)); } #endif