X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.cpp;h=3812a3792c17d068cdb0bccd575e2a3922088f34;hb=cf9bf4e58fba6f478f3263412d224a4499f3fad6;hp=21bbb88472d4ce55b1fb5e56eba372a333e074c7;hpb=84ec1f7331f402f4ab2e2201b72b3ee378cce659;p=stockfish diff --git a/src/uci.cpp b/src/uci.cpp index 21bbb884..3812a379 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -314,7 +314,7 @@ namespace { string token; int depth, tm, n; - Position pos = RootPosition; + Position pos(RootPosition); if (!(uip >> depth)) return;