X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=c82c7a8bf87acbfc6c4c683599ce8c57a4dace99;hb=564456a6a824bfca26d6d9af5b35a055eb9fc6c2;hp=90247cb1823d97ce19ef9edba49999c7043d9810;hpb=258c13ba8cc8d054b803a04c433a766d0c5a1e8f;p=stockfish diff --git a/src/position.h b/src/position.h index 90247cb1..c82c7a8b 100644 --- a/src/position.h +++ b/src/position.h @@ -1,6 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file) + Copyright (C) 2004-2023 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -68,7 +68,7 @@ struct StateInfo { /// start position to the position just before the search starts). Needed by /// 'draw by repetition' detection. Use a std::deque because pointers to /// elements are not invalidated upon list resizing. -typedef std::unique_ptr> StateListPtr; +using StateListPtr = std::unique_ptr>; /// Position class stores information regarding the board representation as