mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
ndb - bug#18295
more work-arounds for gcc4
This commit is contained in:
parent
4a22082b66
commit
b3ee3a81a5
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ public:
|
|||
/**
|
||||
* Return an object to pool
|
||||
*/
|
||||
void release(Ptr<T> &);
|
||||
void release(Ptr<T>);
|
||||
private:
|
||||
P m_pool;
|
||||
};
|
||||
|
@ -322,7 +322,7 @@ RecordPool<T, P>::release(Uint32 i)
|
|||
template <typename T, typename P>
|
||||
inline
|
||||
void
|
||||
RecordPool<T, P>::release(Ptr<T> & ptr)
|
||||
RecordPool<T, P>::release(Ptr<T> ptr)
|
||||
{
|
||||
m_pool.release(*(Ptr<void>*)&ptr);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue