X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=d1f31146082b23801cb2d8d62f093c49cafe777e;hp=d29e77135e6e1883fae2319bc44e9b0ed66970d7;hb=aea2fde6117be2fbda1caa62c842dea766780be5;hpb=b73ae56ee18fd995b7071745eb3a3a4c2be57916 diff --git a/src/position.cpp b/src/position.cpp index d29e7713..d1f31146 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -176,9 +176,8 @@ void Position::init() { } -/// Position::operator=() creates a copy of 'pos'. We want the new born Position -/// object to not depend on any external data so we detach state pointer from -/// the source one. +/// Position::operator=() creates a copy of 'pos' but detaching the state pointer +/// from the source to be self-consistent and not depending on any external data. Position& Position::operator=(const Position& pos) {