moved template instances to a separate file
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user