diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-03 16:03:42 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-03 16:03:42 +0200 |
| commit | 49c5f09c9c72a4f343a189b4fbbe21e51a10887a (patch) | |
| tree | e9e777e3183c8b4fca64642d7cae7366c407c2be /common/distrio_helper.h | |
| parent | a5b35712f00de51c886a76262c752fe5c0d4ae83 (diff) | |
libdistrio_common: change param of register_digital
- from char * into std::string it's more c++ like
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'common/distrio_helper.h')
| -rw-r--r-- | common/distrio_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/distrio_helper.h b/common/distrio_helper.h index 0d2d145..7bad2de 100644 --- a/common/distrio_helper.h +++ b/common/distrio_helper.h @@ -37,6 +37,6 @@ static corba_ref ref = { /** initialize corba orb - argc, argv as passed to main() */ int init_corba (int argc, char **argv); /** register a digital io with a common name at the naming service */ -int register_digital (char *_name, Distrio_Digital_i *digital); +int register_digital (std::string _name, Distrio_Digital_i *digital); /** run the orb - function blocks until orb shutdown */ int run_orb (void); |
