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
/
orbsvcs
/
tests
/
IOR_MCast
/
server.cpp
blob
487d61009a47c7bad09eeb2693b9dee6c2a9b3ff
1
#include
"server_i.h"
2
3
int
ACE_TMAIN
(
int
argc
,
ACE_TCHAR
*
argv
[])
4
{
5
try
6
{
7
Server_i svr_i
;
8
9
const int
init_result
=
svr_i
.
init
(
argc
,
argv
);
10
11
if
(
init_result
!=
0
)
12
return
1
;
13
}
14
catch
(
const
CORBA
::
Exception
&
ex
)
15
{
16
ex
.
_tao_print_exception
(
"CORBA exception raised in server!"
);
17
}
18
19
return
0
;
20
}