Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp
index 6b7d6ca94..b75e84e95 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/debugging/MSCFunctionObject.cpp
@@ -15,17 +15,17 @@
using namespace etRuntime;
-MSCFunctionObject::MSCFunctionObject(const std::string& objectName, const std::string& message) :
+MSCFunctionObject::MSCFunctionObject(const String& objectName, const String& message) :
m_syncLogger(DebuggingService::getInstance().getSyncLogger()),
m_targetName(objectName),
- m_sourceName(m_syncLogger.getObjectName())
+ m_sourceName(m_syncLogger.getObjectName().c_str())
{
- m_syncLogger.setObjectName(m_targetName);
- m_syncLogger.addMessageSyncCall(m_sourceName, m_targetName, message);
+ m_syncLogger.setObjectName(m_targetName.c_str());
+ m_syncLogger.addMessageSyncCall(m_sourceName.c_str(), m_targetName.c_str(), message.c_str());
}
MSCFunctionObject::~MSCFunctionObject() {
- m_syncLogger.setObjectName(m_sourceName);
- m_syncLogger.addMessageSyncReturn(m_sourceName, m_targetName, "return");
+ m_syncLogger.setObjectName(m_sourceName.c_str());
+ m_syncLogger.addMessageSyncReturn(m_sourceName.c_str(), m_targetName.c_str(), "return");
}

Back to the top