Commit f2e9a5cf authored by unknown's avatar unknown

ndb - bug#18295

  more work-arounds for gcc4


storage/ndb/src/kernel/vm/Pool.hpp:
  More gcc4 craziness
parent bf3c1e18
...@@ -197,7 +197,7 @@ public: ...@@ -197,7 +197,7 @@ public:
/** /**
* Return an object to pool * Return an object to pool
*/ */
void release(Ptr<T> &); void release(Ptr<T>);
private: private:
P m_pool; P m_pool;
}; };
...@@ -322,7 +322,7 @@ RecordPool<T, P>::release(Uint32 i) ...@@ -322,7 +322,7 @@ RecordPool<T, P>::release(Uint32 i)
template <typename T, typename P> template <typename T, typename P>
inline inline
void void
RecordPool<T, P>::release(Ptr<T> & ptr) RecordPool<T, P>::release(Ptr<T> ptr)
{ {
m_pool.release(*(Ptr<void>*)&ptr); m_pool.release(*(Ptr<void>*)&ptr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment