From 744c8c8f43b63d37f7e0fd7165981a075c5daabb Mon Sep 17 00:00:00 2001 From: Neargye Date: Mon, 28 May 2018 17:40:20 +0500 Subject: [PATCH] update example --- example/example.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/example/example.cpp b/example/example.cpp index 724ed0f..a68b790 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -40,16 +40,16 @@ struct SomeStruct { void SomeMethod1(const int i) { somefield = i; - std::cout << "No called!" << std::endl; } int SomeMethod2() const { - std::cout << "No called!" << std::endl; return somefield; } }; -void SomeMethod3() { std::cout << "No called!" << std::endl; } +void SomeMethod3() { + std::cout << NAMEOF(SomeMethod3) << " no called!" << std::endl; +} struct Long { struct LL { @@ -124,8 +124,6 @@ int main() { std::cout << e.what() << std::endl; // y should not be zero! } - std::cout << NAMEOF(main) << " method entry" << std::endl; // main method entry - /* Remarks */ // Spaces and Tabs ignored