Commit ec5c5691 authored by unknown's avatar unknown

Removing const declaration of allocRecord to fix compile problem

parent 11d177b6
...@@ -636,7 +636,7 @@ SimulatedBlock::getBatSize(Uint16 blockNo){ ...@@ -636,7 +636,7 @@ SimulatedBlock::getBatSize(Uint16 blockNo){
} }
void* void*
SimulatedBlock::allocRecord(const char * type, size_t s, size_t n) const SimulatedBlock::allocRecord(const char * type, size_t s, size_t n)
{ {
void* p = NULL; void* p = NULL;
......
...@@ -350,7 +350,7 @@ protected: ...@@ -350,7 +350,7 @@ protected:
* Allocates memory for the datastructures where ndb keeps the data * Allocates memory for the datastructures where ndb keeps the data
* *
*/ */
void* allocRecord(const char * type, size_t s, size_t n) const ; void* allocRecord(const char * type, size_t s, size_t n);
/** /**
* Deallocate record * Deallocate record
......
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