X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=add0f32bc29509844997880cc2ffdd3aa9c67cf9;hp=48cac56157d7038b4009bf723b8b441a93496573;hb=339e1b49f619ceffa75019e196adf4de74b32cce;hpb=6608a16a6a6e062921fe318846c2c21e1fbcd729 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; }