Commit ec5c5691 authored by unknown's avatar unknown
Browse files

Removing const declaration of allocRecord to fix compile problem

parent 11d177b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -636,7 +636,7 @@ SimulatedBlock::getBatSize(Uint16 blockNo){
}

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;
+1 −1
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ protected:
   * 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