Fix windows build.
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Deukhoofd committed 2021-10-23 14:57:46 +02:00
1 parent 3507ea4f6a
commit 35527f68bd
1 file changed
+3 -1
+3 -1
View File
@@ -3,6 +3,8 @@
#include <PkmnLib/ScriptResolving/AngelScript/AngelScriptMetadata.hpp> #include <PkmnLib/ScriptResolving/AngelScript/AngelScriptMetadata.hpp>
#include <PkmnLib/ScriptResolving/AngelScript/ContextPool.hpp> #include <PkmnLib/ScriptResolving/AngelScript/ContextPool.hpp>
#include <chrono>
#include <thread>
#include "../../extern/termcolor.hpp" #include "../../extern/termcolor.hpp"
#include "Test.hpp" #include "Test.hpp"
@@ -44,7 +46,7 @@ public:
while (!debugger.HasDebuggerAttached()) { while (!debugger.HasDebuggerAttached()) {
continue; continue;
} }
sleep(1); std::this_thread::sleep_for(std::chrono::milliseconds(500));
} }
for (auto& test : _tests) { for (auto& test : _tests) {