summaryrefslogtreecommitdiff
path: root/digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh
diff options
context:
space:
mode:
authorNicolas Schodet2013-02-21 19:26:55 +0100
committerNicolas Schodet2013-03-01 22:57:32 +0100
commited853465a281b6f29bf2036d643d24b2ae367d12 (patch)
tree07d992f493928b146fd519024a2b1165900baa18 /digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh
parentc07e5335bb9c178854ef0d9f686414cc66b7a240 (diff)
digital/ucoolib/ucoolib/arch/host/mex: use std::string
Diffstat (limited to 'digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh')
-rw-r--r--digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh b/digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh
index fecb8c00..26fd5a29 100644
--- a/digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh
+++ b/digital/ucoolib/ucoolib/arch/host/mex/mex_node.hh
@@ -29,6 +29,7 @@
#include <memory>
#include <map>
+#include <string>
namespace ucoo {
namespace mex {
@@ -89,7 +90,7 @@ class Node
/// Send a response while handling a request.
void response (Msg &msg);
/// Reserve a message type.
- mtype_t reserve (const char *name);
+ mtype_t reserve (const std::string &name);
/// Register an handler for a message type.
void handler_register (mtype_t mtype, Handler &handler);
private: