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:
parent
6f12516f48
commit
9f4c2e9a61
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user