mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-16 15:16:25 +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);
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user