Fix for solaris compiler

parent 5283af4e
......@@ -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;
{
......
......@@ -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;
};
......
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