1
0
Fork 0
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:
Marco Costalba 2013-06-13 07:42:43 +02:00
parent 1b7223a53c
commit b6e9d901b0

View file

@ -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;
}