Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp')
-rw-r--r--runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp
index 1095d71e5..cc0a66bb1 100644
--- a/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp
+++ b/runtime/org.eclipse.etrice.runtime.cpp/src/common/messaging/Address.cpp
@@ -11,7 +11,6 @@
*******************************************************************************/
#include "common/messaging/Address.h"
-#include <string>
namespace etRuntime {
@@ -71,11 +70,11 @@ bool Address::operator<(const Address& right) const {
}
}
-std::string Address::toID() const {
+String Address::toID() const {
char buffer[50];
sprintf(buffer, "%i_%i_%i", m_nodeID, m_threadID, m_objectID);
- return std::string(buffer);
+ return String(buffer);
}
Address Address::createInc() const {

Back to the top