GeniusVentures / SuperGenius

MIT License
4 stars 3 forks source link

Fix missing header thread.h when enable TEST flag #16

Closed scorpioluck20 closed 1 year ago

scorpioluck20 commented 1 year ago

When compile with DTEST flag ON. Some error with missing header file. /home/runner/work/SuperGenius/SuperGenius/SuperGenius/test/src/processing/processing_service_test.cpp: In member function ‘virtual void ProcessingServiceTest_ProcessingSlotsAreAvailable_Test::TestBody()’: /home/runner/work/SuperGenius/SuperGenius/SuperGenius/test/src/processing/processing_service_test.cpp:127:23: error: ‘sleep_for’ is not a member of ‘std::this_thread’ 127 | std::this_thread::sleep_for(std::chrono::milliseconds(1000));

scorpioluck20 commented 1 year ago

Build CI Linux working now: Link