encapsulated sw

This commit is contained in:
rektdie committed 2025-04-11 03:02:28 +02:00
1 parent 91ec9282a0
commit ff811784fb
2 files changed
+10 -9

No files matched your search

+4
View File
@@ -4,6 +4,7 @@
#include <vector>
#include "move.h"
#include <algorithm>
#include "stopwatch.h"
namespace SEARCH {
@@ -114,9 +115,12 @@ public:
PVLine pvLine;
History history;
Stopwatch sw;
SearchContext(){
pvLine.Clear();
history.Clear();
sw.Restart();
}
};