repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git]
/
TAO
/
tests
/
Bug_2918_Regression
/
Hello.cpp
blob
82d4b4724dbe59c1e82e9bcfdc4d4b4ea33d67b5
1
#include
"Hello.h"
2
3
Hello
::
Hello
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
CORBA
::
Any
*
9
Hello
::
get_any
(
CORBA
::
Any
const
&
the_any
)
10
{
11
CORBA
::
Any
*
retval
=
0
;
12
13
ACE_NEW_THROW_EX
(
retval
,
14
CORBA
::
Any
(
the_any
),
15
CORBA
::
NO_MEMORY
());
16
17
return
retval
;
18
}
19
20
21
void
22
Hello
::
shutdown
()
23
{
24
this
->
orb_
->
shutdown
(
false
);
25
}