/usr/include/Eris-1.3/Eris/DeleteLater.h is in liberis-1.3-dev 1.3.19-5ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef ERIS_DELETE_LATER_H
#define ERIS_DELETE_LATER_H
namespace Eris
{
class BaseDeleteLater
{
public:
virtual ~BaseDeleteLater() = 0;
};
template <class T>
class DerivedDeleteLater : public BaseDeleteLater
{
public:
DerivedDeleteLater(T* ins) : m_instance(ins) { }
virtual ~DerivedDeleteLater()
{
delete m_instance;
}
private:
T* m_instance;
};
void pushDeleteLater(BaseDeleteLater* bl);
void execDeleteLaters();
template <class T>
void deleteLater(T* ins)
{
pushDeleteLater(new DerivedDeleteLater<T>(ins));
}
} // of namespace
#endif // ERIS_DELETE_LATER_H
|