projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1b7223a
)
Don't use std::vector::data()
author
Marco Costalba
<mcostalba@gmail.com>
Thu, 13 Jun 2013 05:42:43 +0000 (07:42 +0200)
committer
Marco Costalba
<mcostalba@gmail.com>
Thu, 13 Jun 2013 05:42:43 +0000 (07:42 +0200)
It is a C++11 only function.
Reported by Eelco.
No functional change.
src/search.cpp
patch
|
blob
|
history
diff --git
a/src/search.cpp
b/src/search.cpp
index
b39750d
..
e9c0ad2
100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-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;
}