summaryrefslogtreecommitdiff
path: root/tests/Bug_3919_Regression/Hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Bug_3919_Regression/Hello.cpp')
-rw-r--r--tests/Bug_3919_Regression/Hello.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Bug_3919_Regression/Hello.cpp b/tests/Bug_3919_Regression/Hello.cpp
new file mode 100644
index 00000000000..46043d0d3ee
--- /dev/null
+++ b/tests/Bug_3919_Regression/Hello.cpp
@@ -0,0 +1,27 @@
+// $Id$
+
+#include "Hello.h"
+
+Hello::Hello (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+CORBA::Any *
+Hello::get_any (CORBA::Any const & the_any)
+{
+ CORBA::Any * retval = 0;
+
+ ACE_NEW_THROW_EX (retval,
+ CORBA::Any (the_any),
+ CORBA::NO_MEMORY ());
+
+ return retval;
+}
+
+
+void
+Hello::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}