actual/packages/node-libofx/OpenSP-1.5.2/include/IQueue.cxx
2022-04-28 22:44:38 -04:00

22 lines
346 B
C++

// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef IQueue_DEF_INCLUDED
#define IQueue_DEF_INCLUDED 1
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
template<class T>
void IQueue<T>::clear()
{
while (!empty())
delete get();
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not IQueue_DEF_INCLUDED */