]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Unify type alias declarations
[stockfish] / src / position.h
index 3de24f228882d398b06e6ec8331d1b9542acac17..c82c7a8bf87acbfc6c4c683599ce8c57a4dace99 100644 (file)
@@ -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<std::deque<StateInfo>> StateListPtr;
+using StateListPtr = std::unique_ptr<std::deque<StateInfo>>;
 
 
 /// Position class stores information regarding the board representation as