From 913ab1e14041b81f3c9276ea3a7adfff32c0408c Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 30 Mar 2016 08:35:21 +0200 Subject: Cleanups and version bump --- src/lib/util/delegate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/util/delegate.cpp') diff --git a/src/lib/util/delegate.cpp b/src/lib/util/delegate.cpp index c8633633325..c50f1cf5d63 100644 --- a/src/lib/util/delegate.cpp +++ b/src/lib/util/delegate.cpp @@ -52,7 +52,7 @@ delegate_generic_function delegate_mfp::convert_to_generic(delegate_generic_clas // otherwise, it is the byte index into the vtable where the actual function lives std::uint8_t *vtable_base = *reinterpret_cast(object); #if defined(LOG_DELEGATES) - printf("Calculated Addr = %08x (VTAB)\n", (uintptr_t)(void*)(*reinterpret_cast(vtable_base + m_function + m_this_delta - 1))); + printf("Calculated Addr = %08x (VTAB)\n", (uintptr_t)(void*)(*reinterpret_cast(vtable_base + m_function + m_this_delta - 1))); #endif return *reinterpret_cast(vtable_base + m_function + m_this_delta - 1); #else @@ -70,7 +70,7 @@ delegate_generic_function delegate_mfp::convert_to_generic(delegate_generic_clas // otherwise, it is the byte index into the vtable where the actual function lives std::uint8_t *vtable_base = *reinterpret_cast(object); #if defined(LOG_DELEGATES) - printf("Calculated Addr = %08x (VTAB)\n", (uintptr_t)(void*)(*reinterpret_cast(vtable_base + m_function - 1))); + printf("Calculated Addr = %08x (VTAB)\n", (uintptr_t)(void*)(*reinterpret_cast(vtable_base + m_function - 1))); #endif return *reinterpret_cast(vtable_base + m_function - 1); #endif -- cgit v1.2.3-70-g09d2