moved template instances to a separate file

This commit is contained in:
Jeff Hill
2002-04-25 18:13:42 +00:00
parent f4d313d3d8
commit a7ce3f1723
5 changed files with 9 additions and 69 deletions

View File

@@ -22,18 +22,6 @@
#include "oldAccess.h"
#include "cac.h"
#ifdef _MSC_VER
# pragma warning ( push )
# pragma warning ( disable:4660 )
#endif
template class tsFreeList < getCopy, 1024 >;
template class epicsSingleton < tsFreeList < getCopy, 1024 > >;
#ifdef _MSC_VER
# pragma warning ( pop )
#endif
epicsSingleton < tsFreeList < class getCopy, 1024 > > getCopy::pFreeList;
getCopy::getCopy ( oldCAC &cacCtxIn, oldChannelNotify &chanIn,
@@ -62,7 +50,8 @@ void getCopy::completion ( unsigned typeIn,
arrayElementCount countIn, const void *pDataIn )
{
if ( this->type == typeIn ) {
memcpy ( this->pValue, pDataIn, dbr_size_n ( typeIn, countIn ) );
unsigned size = dbr_size_n ( typeIn, countIn );
memcpy ( this->pValue, pDataIn, size );
this->cacCtx.decrementOutstandingIO ( this->readSeq );
}
else {