Fix for solaris compiler

This commit is contained in:
jonas@perch.ndb.mysql.com 2006-02-16 13:12:25 +01:00
parent 5283af4efe
commit a1ea437e7c
2 changed files with 3 additions and 2 deletions

View file

@ -78,8 +78,7 @@ SimBlockList::load(Configuration & conf){
Lgman* lg = 0;
Tsman* ts = 0;
Block_context ctx =
{ conf, * (Ndbd_mem_manager*)0 };
Block_context ctx(conf, * (Ndbd_mem_manager*)0);
SimulatedBlock * fs = 0;
{

View file

@ -77,6 +77,8 @@ typedef struct NewVar
struct Block_context
{
Block_context(class Configuration& cfg, class Ndbd_mem_manager& mm)
: m_config(cfg), m_mm(mm) {}
class Configuration& m_config;
class Ndbd_mem_manager& m_mm;
};