mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00: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:
parent
1b7223a53c
commit
b6e9d901b0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue