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
Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git]
/
TAO
/
tests
/
Bug_2595_Regression
/
Hello.cpp
blob
a3c0d15f54d1738b5addedcdd768f70865ad4a45
1
#include
"Hello.h"
2
3
Hello
::
Hello
(
CORBA
::
ORB_ptr orb
)
4
:
orb_
(
CORBA
::
ORB
::
_duplicate
(
orb
))
5
{
6
}
7
8
void
9
Hello
::
op
(
10
::
Test
::
Fls_out fstruct
,
11
::
Test
::
Vls_out vstruct
12
)
13
{
14
Test
::
Fls a
= {
5
,
1.0
};
15
fstruct
=
a
;
16
vstruct
=
new
Test
::
Vls
;
17
}
18
19
void
20
Hello
::
shutdown
()
21
{
22
this
->
orb_
->
shutdown
(
false
);
23
}