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

This commit is contained in:
Deukhoofd 2021-10-23 14:57:46 +02:00
parent 3507ea4f6a
commit 35527f68bd
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 3 additions and 1 deletions

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) {