mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 08:07:08 +08:00
Don't use std::vector::data()
It is a C++11 only function. Reported by Eelco. No functional change.
This commit is contained in:
@@ -419,7 +419,7 @@ namespace {
|
|||||||
rm = *std::find(RootMoves.begin(), RootMoves.end(), skill.best);
|
rm = *std::find(RootMoves.begin(), RootMoves.end(), skill.best);
|
||||||
|
|
||||||
Log log(Options["Search Log Filename"]);
|
Log log(Options["Search Log Filename"]);
|
||||||
log << pretty_pv(pos, depth, rm.score, Time::now() - SearchTime, rm.pv.data())
|
log << pretty_pv(pos, depth, rm.score, Time::now() - SearchTime, &rm.pv[0])
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user