diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-05 22:02:39 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-05 22:02:39 +0000 |
commit | d2f6eb3bde2e2fa10d7350390c53955110bb1963 (patch) | |
tree | 6f7b296dd9461687b06519e2c0b19d7a7ba3d18c /ACEXML | |
parent | a65529a7ac59d970dd320dd942097ee4cad83161 (diff) | |
download | ATCD-d2f6eb3bde2e2fa10d7350390c53955110bb1963.tar.gz |
ChangeLogTag: Wed Jun 5 16:58:41 2002 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'ACEXML')
-rw-r--r-- | ACEXML/common/HttpCharStream.cpp | 2 | ||||
-rw-r--r-- | ACEXML/common/Mem_Map_Stream.cpp | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ACEXML/common/HttpCharStream.cpp b/ACEXML/common/HttpCharStream.cpp index 0c8b99af5ce..02d5826e30c 100644 --- a/ACEXML/common/HttpCharStream.cpp +++ b/ACEXML/common/HttpCharStream.cpp @@ -283,5 +283,5 @@ ACEXML_HttpCharStream::read (ACEXML_Char *str, int ACEXML_HttpCharStream::peek (void) { - return this->stream_->peek_char (1); + return this->stream_->peek_char (0); } diff --git a/ACEXML/common/Mem_Map_Stream.cpp b/ACEXML/common/Mem_Map_Stream.cpp index 36ef4dfd940..1399648d0c9 100644 --- a/ACEXML/common/Mem_Map_Stream.cpp +++ b/ACEXML/common/Mem_Map_Stream.cpp @@ -243,3 +243,11 @@ ACEXML_Mem_Map_Stream::~ACEXML_Mem_Map_Stream (void) // Remove the mapping and the file. this->mem_map_.remove (); } + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>; +template class ACE_Connector <Svc_Handler, ACE_SOCK_CONNECTOR>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> +#pragma instantiate ACE_Connector <Svc_Handler, ACE_SOCK_CONNECTOR> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |