summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-03 00:11:06 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-03 00:11:06 +0000
commit1045e98c0b11c29e45d8eb17f670389f8b93956d (patch)
treea83c934bc01375f3cfcc61365c3752c4cbdb6ccc
parentf33377343496a203feb59acd55c3a24961c1aa84 (diff)
downloadATCD-1045e98c0b11c29e45d8eb17f670389f8b93956d.tar.gz
added template specializations to Peer_Router.cpp so that event_server longer needs to be linked with libGateway
-rw-r--r--examples/ASX/Event_Server/Event_Server/Makefile2
-rw-r--r--examples/ASX/Event_Server/Event_Server/Peer_Router.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/ASX/Event_Server/Event_Server/Makefile b/examples/ASX/Event_Server/Event_Server/Makefile
index a8682e8dc4f..658dca636bf 100644
--- a/examples/ASX/Event_Server/Event_Server/Makefile
+++ b/examples/ASX/Event_Server/Event_Server/Makefile
@@ -21,8 +21,6 @@ LOBJ = $(addsuffix .o,$(FILES))
SHOBJ = $(addsuffix .so,$(FILES))
LDLIBS = $(addprefix .shobj/,$(SHOBJ))
-#### -lGateway is needed for template instantiations with g++ -fno-implicit-templates
-LIBS = -lGateway
VLDLIBS = $(LDLIBS:%=%$(VAR))
diff --git a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp
index ab4ae5bd31c..8608d266c68 100644
--- a/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp
+++ b/examples/ASX/Event_Server/Event_Server/Peer_Router.cpp
@@ -350,6 +350,7 @@ Peer_Router::control (ACE_Message_Block *mb)
template class ACE_Acceptor<Peer_Handler, ACE_SOCK_ACCEPTOR>;
template class ACE_Map_Iterator<ROUTING_KEY, Peer_Handler *, ACE_SYNCH_RW_MUTEX>;
template class ACE_Map_Manager<ROUTING_KEY, Peer_Handler *, ACE_SYNCH_RW_MUTEX>;
+template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_SYNCH>;
#if defined (ACE_HAS_THREADS)
template class ACE_Guard<ACE_SYNCH_RW_MUTEX>;