From f0220c5340684fb0292614634edbe0ae35d9a526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 15 Feb 2014 16:18:13 +0100 Subject: [PATCH] astyle formatting --- lib/cxx11emu.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/lib/cxx11emu.h b/lib/cxx11emu.h index 46960ed40..e4da63bf5 100644 --- a/lib/cxx11emu.h +++ b/lib/cxx11emu.h @@ -33,14 +33,16 @@ const // this is a const object... class { public: - template // convertible to any type - operator T*() const // of null non-member - { return 0; } // pointer... - template // or any type of null - operator T C::*() const // member pointer... - { return 0; } + template // convertible to any type + operator T*() const { // of null non-member + return 0; // pointer... + } + template // or any type of null + operator T C::*() const { // member pointer... + return 0; + } private: - void operator&() const; // whose address can't be taken + void operator&() const; // whose address can't be taken } cppcheck_nullptr_impl = {}; // and whose name is nullptr // An evil workaround for the inability to disable -Wc++0x-compat using a #pragma.