removed throw specifications
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include "comBuf.h"
|
||||
#include "errlog.h"
|
||||
|
||||
bool comBuf::flushToWire ( wireSendAdapter & wire ) epicsThrows (())
|
||||
bool comBuf::flushToWire ( wireSendAdapter & wire )
|
||||
{
|
||||
unsigned occupied = this->occupiedBytes ();
|
||||
while ( occupied ) {
|
||||
@@ -44,7 +44,7 @@ bool comBuf::flushToWire ( wireSendAdapter & wire ) epicsThrows (())
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsInt16 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsInt16 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -56,7 +56,7 @@ unsigned comBuf::push ( const epicsInt16 * pValue, unsigned nElem ) epicsThrows
|
||||
return nElem;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsUInt16 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsUInt16 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -68,7 +68,7 @@ unsigned comBuf::push ( const epicsUInt16 * pValue, unsigned nElem ) epicsThrows
|
||||
return nElem;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsInt32 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsInt32 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -84,7 +84,7 @@ unsigned comBuf::push ( const epicsInt32 * pValue, unsigned nElem ) epicsThrows
|
||||
return nElem;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsUInt32 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsUInt32 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -100,7 +100,7 @@ unsigned comBuf::push ( const epicsUInt32 * pValue, unsigned nElem ) epicsThrows
|
||||
return nElem;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsFloat32 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsFloat32 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -111,7 +111,7 @@ unsigned comBuf::push ( const epicsFloat32 * pValue, unsigned nElem ) epicsThrow
|
||||
return nElem;
|
||||
}
|
||||
|
||||
unsigned comBuf::push ( const epicsFloat64 * pValue, unsigned nElem ) epicsThrows (())
|
||||
unsigned comBuf::push ( const epicsFloat64 * pValue, unsigned nElem )
|
||||
{
|
||||
nElem = this->unoccupiedElem ( sizeof (*pValue), nElem );
|
||||
for ( unsigned i = 0u; i < nElem; i++ ) {
|
||||
@@ -125,12 +125,11 @@ unsigned comBuf::push ( const epicsFloat64 * pValue, unsigned nElem ) epicsThrow
|
||||
// throwing the exception from a function that isnt inline
|
||||
// shrinks the GNU compiled object code
|
||||
void comBuf::throwInsufficentBytesException ()
|
||||
epicsThrows (( comBuf::insufficentBytesAvailable ))
|
||||
{
|
||||
throw comBuf::insufficentBytesAvailable ();
|
||||
}
|
||||
|
||||
void comBuf::operator delete ( void * ) epicsThrows (())
|
||||
void comBuf::operator delete ( void * )
|
||||
{
|
||||
// Visual C++ .net appears to require operator delete if
|
||||
// placement operator delete is defined? I smell a ms rat
|
||||
|
||||
Reference in New Issue
Block a user