diff --git a/CxxRTLTypeRegistration/src/TestMirrorProvider.cpp b/CxxRTLTypeRegistration/src/TestMirrorProvider.cpp index 38a6b0b3..ec3b013a 100644 --- a/CxxRTLTypeRegistration/src/TestMirrorProvider.cpp +++ b/CxxRTLTypeRegistration/src/TestMirrorProvider.cpp @@ -1,4 +1,5 @@ +#include #include #include "TestMirrorProvider.h" @@ -241,6 +242,8 @@ namespace test_mirror static const auto _ = [&]() { const std::string pathStr = std::filesystem::current_path().string() + "/MyReflection.json"; + std::cout << "\n[ OUTPUT] test_mirror::cxx::mirror()==> dumping metadata as JSON." + << "\n file path: " << pathStr << std::endl; rtl::CxxMirrorToJson::dump(cxx_mirror, pathStr); return 0; }(); diff --git a/ReflectionTemplateLib/detail/src/CxxReflection.cpp b/ReflectionTemplateLib/detail/src/CxxReflection.cpp index 0dc0d3f3..762974c7 100644 --- a/ReflectionTemplateLib/detail/src/CxxReflection.cpp +++ b/ReflectionTemplateLib/detail/src/CxxReflection.cpp @@ -177,7 +177,7 @@ namespace rtl { if (givenRecordId != actualRecordId) { std::cout << "\n[WARNING] Member function pointer does not belong to the class being registered." << "\n Member function: " << pFunction.getFunctionName() << "(" << pFunction.getFunctorIds()[0].getSignatureStr() << ")" - << "\n This function is ignored and not registered.\n\n"; + << "\n This function is ignored and not registered.\n"; return false; } return true;