From e0dcfe199dac342c046b74ec2edd5c367d1fcb50 Mon Sep 17 00:00:00 2001 From: terik23 Date: Mon, 25 Mar 2019 14:26:55 +0500 Subject: [PATCH] fix example --- example/example.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/example/example.cpp b/example/example.cpp index 9cbd05f..f8608a7 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -119,7 +119,6 @@ int main() { // Type name. std::cout << NAMEOF_TYPE(structvar) << std::endl; // SomeStruct std::cout << nameof::nameof_type() << std::endl; // SomeStruct - std::cout << NAMEOF_TYPE(othervar.ll) << std::endl; // LL std::cout << NAMEOF_TYPE(SomeClass{}) << std::endl; // SomeClass std::cout << NAMEOF_TYPE(othervar.ll) << std::endl; // Long::LL std::cout << NAMEOF_TYPE(std::declval>()) << std::endl; // const SomeClass && @@ -136,7 +135,7 @@ int main() { // Some more example. - std::cout << SomeMethod4(structvar) << std::endl; // SomeMethod4(SomeStruct value) + std::cout << SomeMethod4(structvar) << std::endl; // SomeMethod4(SomeStruct value) const auto div = [](int x, int y) -> int { if (y == 0) {