summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-10-22 02:40:31 +0000
committerthrall <thrall@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2004-10-22 02:40:31 +0000
commitab431815c70746858a92344adc39e4dace7a27da (patch)
tree82ab7818360cc781ab53a5c8072872c168fc031f
parenta68c4d75c9dac1cc329440a2c3fa80c9e628566a (diff)
downloadATCD-ab431815c70746858a92344adc39e4dace7a27da.tar.gz
Made pub_types in init() const
-rw-r--r--TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.cpp2
-rw-r--r--TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.cpp b/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.cpp
index 18bf6be81d9..41f75d82bb0 100644
--- a/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.cpp
+++ b/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.cpp
@@ -12,7 +12,7 @@
ACE_RCSID(EC_Examples, ECSupplier, "$Id$")
ECSupplier::ECSupplier (SourceID id,
- EventTypeVector &pub_types,
+ const EventTypeVector &pub_types,
Service_Handler *handler)
: id_ (id)
, pub_types_(pub_types)
diff --git a/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.h b/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.h
index c38fb647fc7..3cf9516f778 100644
--- a/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.h
+++ b/TAO/orbsvcs/examples/RtEC/ECConfigurator/ECSupplier.h
@@ -53,7 +53,7 @@ public:
typedef std::vector<EventType> EventTypeVector;
typedef RtecScheduler::handle_t InfoHandle;
- ECSupplier (SourceID id, EventTypeVector &pub_types,
+ ECSupplier (SourceID id, const EventTypeVector &pub_types,
Service_Handler * handler = 0);
// Constructor