X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fendgame.h;h=f24ac93d44a67e2d3ac286eca0888b205e67e229;hp=cd05f0cd1b6273cfa91341d379bc36439d3271d5;hb=ed72a1e9ba37a9fa2674da8f46bb0597a1721c2d;hpb=40548c9153ea89c0b27b198efb443c5bb9b9c490 diff --git a/src/endgame.h b/src/endgame.h index cd05f0cd..f24ac93d 100644 --- a/src/endgame.h +++ b/src/endgame.h @@ -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; };