From a51e77fe833c76c9b2bb91e5f3912837e521d6bd Mon Sep 17 00:00:00 2001 From: Lynix Date: Sun, 23 Feb 2020 11:14:41 +0100 Subject: [PATCH] [Posix] Fix compilation --- appveyor.yml | 2 ++ src/Nazara/Platform/X11/WindowImpl.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index dcdf221ad..544370634 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,6 +5,7 @@ shallow_clone: true skip_commits: files: - .travis.yml + - Dockerfile - Doxyfile - LICENSE - License-Cabin.txt @@ -15,6 +16,7 @@ skip_commits: - 'writing style.md' - doc/* - NazaraModuleTemplate/* + message: /\[Posix\]/ os: - Visual Studio 2017 diff --git a/src/Nazara/Platform/X11/WindowImpl.cpp b/src/Nazara/Platform/X11/WindowImpl.cpp index caf9ebd60..0d81a9c05 100644 --- a/src/Nazara/Platform/X11/WindowImpl.cpp +++ b/src/Nazara/Platform/X11/WindowImpl.cpp @@ -171,7 +171,7 @@ namespace Nz // Wait until the thread is ready std::unique_lock lock(mutex); - m_thread = std::string(WindowThread, this, std::ref(mutex), std::ref(condition)); + m_thread = std::thread(WindowThread, this, std::ref(mutex), std::ref(condition)); condition.wait(lock); }