X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.cpp;h=e2c64ff76e40006e9f93b4fb0c31c013c5e955dd;hp=7369bca9e3c42762f778a2a75292b0c7744efd50;hb=cc6c745b543e0cd94dea82deeed25572227f98ab;hpb=6482ce2bb2cb2c2450008afb58c7ef2e04d56841 diff --git a/src/material.cpp b/src/material.cpp index 7369bca9..e2c64ff7 100644 --- a/src/material.cpp +++ b/src/material.cpp @@ -84,12 +84,6 @@ namespace { } // namespace -/// MaterialInfoTable c'tor and d'tor allocate and free the space for Endgames - -void MaterialInfoTable::init() { Base::init(); if (!funcs) funcs = new Endgames(); } -MaterialInfoTable::~MaterialInfoTable() { delete funcs; } - - /// MaterialInfoTable::material_info() takes a position object as input, /// computes or looks up a MaterialInfo object, and returns a pointer to it. /// If the material configuration is not already present in the table, it