8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 20:03:03 +01:00

having this methods const dangerous - thanks to Claudio

This commit is contained in:
alexpeshkoff 2008-01-31 10:53:18 +00:00
parent 6f12516f48
commit 9f4c2e9a61

View File

@ -68,15 +68,15 @@ public:
// This means - for objects with ctors/dtors that want to be global,
// provide ctor with MemoryPool& parameter. Even if it is ignored!
}
T* operator->() const throw()
T* operator->() throw()
{
return instance;
}
operator T&() const throw()
operator T&() throw()
{
return *instance;
}
T* operator&() const throw()
T* operator&() throw()
{
return instance;
}