File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,6 @@ static const string Tag = "";
4545const string engine_info (bool to_uci) {
4646
4747 const string months (" Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec" );
48- const string cpu64 (Is64Bit ? " 64bit" : " " );
49- const string popcnt (HasPopCnt ? " SSE4.2" : " " );
50-
5148 string month, day, year;
5249 stringstream s, date (__DATE__); // From compiler, format is "Sep 21 2008"
5350
@@ -58,10 +55,12 @@ const string engine_info(bool to_uci) {
5855 date >> month >> day >> year;
5956
6057 s << Tag << string (Tag.empty () ? " " : " " ) << setfill (' 0' ) << setw (2 ) << day
61- << " - " << setw (2 ) << (1 + months.find (month) / 4 ) << " - " << year.substr (2 );
58+ << setw (2 ) << (1 + months.find (month) / 4 ) << year.substr (2 );
6259 }
6360
64- s << cpu64 << popcnt << (to_uci ? " \n id author " : " by " )
61+ s << (Is64Bit ? " 64" : " " )
62+ << (HasPopCnt ? " SSE4.2" : " " )
63+ << (to_uci ? " \n id author " : " by " )
6564 << " Tord Romstad, Marco Costalba and Joona Kiiski" ;
6665
6766 return s.str ();
You can’t perform that action at this time.
0 commit comments