X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fendgame.h;h=6e6fe9246bc4f4be8820d229c284bdc0053df966;hb=9742fb10fd83e82ad760e4cac5cef3d6dff670ed;hp=cd05f0cd1b6273cfa91341d379bc36439d3271d5;hpb=f6f1d2422303923927c0c088dee1d6df22dc4b98;p=stockfish diff --git a/src/endgame.h b/src/endgame.h index cd05f0cd..6e6fe924 100644 --- a/src/endgame.h +++ b/src/endgame.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2016 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -76,7 +76,7 @@ eg_type = typename std::conditional<(E < SCALING_FUNCTIONS), Value, ScaleFactor> template struct EndgameBase { - virtual ~EndgameBase() {} + virtual ~EndgameBase() = default; virtual Color strong_side() const = 0; virtual T operator()(const Position&) const = 0; };