Fix uninitialized memory usage
[stockfish] / src / thread.h
index 8c0a66653e7f516f58f17e12de68d64d4181116e..093b9512f82626ff231a7945489e0137b3b5eab9 100644 (file)
@@ -52,6 +52,7 @@ public:
   explicit Thread(size_t);
   virtual ~Thread();
   virtual void search();
+  void clear();
   void idle_loop();
   void start_searching();
   void wait_for_search_finished();