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
154 changes: 0 additions & 154 deletions BenchMarkReports/BenchMarkReport_arm.md

This file was deleted.

693 changes: 0 additions & 693 deletions BenchMarkReports/rtl-bm-raw-logs-linux.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace proxy_test
{
const auto orgMethod = OriginalReflection::getClass()->getMethod(pFunctionName);
if (!orgMethod.has_value()) {
return { rtl::error::FunctionNotRegisterd, rtl::RObject{ } };
return { rtl::error::FunctionNotRegistered, rtl::RObject{ } };
}
if (orgMethod->hasSignature<_args...>()) {
return orgMethod->bind(m_originalObj).call(std::forward<_args>(params)...);
Expand All @@ -44,7 +44,7 @@ namespace proxy_test
{
const auto orgMethod = OriginalReflection::getClass()->getMethod(pFunctionName);
if (!orgMethod.has_value()) {
return { rtl::error::FunctionNotRegisterd, rtl::RObject{ } };
return { rtl::error::FunctionNotRegistered, rtl::RObject{ } };
}
if (orgMethod->hasSignature<_args...>()) {
return orgMethod->bind().call(std::forward<_args>(params)...);
Expand Down
8 changes: 4 additions & 4 deletions CxxTestProps/src/Date.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ namespace nsdate
vector<string> date;
for (size_t i = 0; i < pDateStr.length(); i++)
{
if (pDateStr.at(i) == '/') {
if (pDateStr[i] == '/') {
date.push_back(strBuf);
strBuf.clear();
}
else {
strBuf.push_back(pDateStr.at(i));
strBuf.push_back(pDateStr[i]);
}
}
m_day = stoi(date[0]);
Expand Down Expand Up @@ -208,12 +208,12 @@ namespace nsdate
vector<string> date;
for (size_t i = 0; i < pDateStr.length(); i++)
{
if (pDateStr.at(i) == '/') {
if (pDateStr[i] == '/') {
date.push_back(strBuf);
strBuf.clear();
}
else {
strBuf.push_back(pDateStr.at(i));
strBuf.push_back(pDateStr[i]);
}
}
m_day = stoi(date[0]);
Expand Down
8 changes: 6 additions & 2 deletions RTLBenchmarkApp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ set(CXX_EXE_NAME RTLBenchmarkApp)
# ===============================
add_executable(${CXX_EXE_NAME}
src/main.cpp
src/BenchMark.cpp # <-- added
src/BenchMark.h # <-- optional (for IDE visibility)
src/BenchMark.h
src/BenchMark.cpp
src/StandardCall.h
src/StandardCall.cpp
src/ReflectedCall.h
src/ReflectedCall.cpp
)


Expand Down
Loading
Loading