Skip to content

Commit 134ed2b

Browse files
committed
Add deprecated comment of StdCppFixedMemoryPool::allocate()
1 parent 01da28c commit 134ed2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/StdCppOSWrapper/StdCppFixedMemoryPoolFactory.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ class StdCppFixedMemoryPool : public OSWrapper::FixedMemoryPool {
6262
{
6363
}
6464

65+
/*!
66+
* @deprecated The implementation of this method is not satisfied the specification.
67+
* Use allocateMemory(), tryAllocateMemory(), or timedAllocateMemory() instead of this.
68+
*/
6569
void* allocate()
6670
{
6771
return std::malloc(m_blockSize);

0 commit comments

Comments
 (0)