Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CxxRTLTypeRegistration/src/TestMirrorProvider.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

#include <iostream>
#include <filesystem>

#include "TestMirrorProvider.h"
Expand Down Expand Up @@ -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;
}();
Expand Down
2 changes: 1 addition & 1 deletion ReflectionTemplateLib/detail/src/CxxReflection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading