X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmaterial.cpp;h=add0f32bc29509844997880cc2ffdd3aa9c67cf9;hb=03f4d1e8d64ac7d615553fff89870e195fda24a4;hp=48cac56157d7038b4009bf723b8b441a93496573;hpb=6608a16a6a6e062921fe318846c2c21e1fbcd729;p=stockfish diff --git a/src/material.cpp b/src/material.cpp index 48cac561..add0f32b 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -85,7 +85,7 @@ namespace { /// MaterialInfoTable c'tor and d'tor allocate and free the space for Endgames -MaterialInfoTable::MaterialInfoTable() { funcs = new Endgames(); } +void MaterialInfoTable::init() { Base::init(); if (!funcs) funcs = new Endgames(); } MaterialInfoTable::~MaterialInfoTable() { delete funcs; }