diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-02-22 12:29:31 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-02-23 00:04:36 +0000 |
commit | 1841ca4b9b7b48e5e199fc9c683229544ffb6a70 (patch) | |
tree | 8ce0a5c365074957d4a073f6476834db974eb130 /src | |
parent | 71526ecfc743ad1547df09937f63ff0a8b9d8745 (diff) |
video_core: add missing header after 468bd9c1b0f9
src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkShaderComplete()':
src/video_core/shader_notify.cpp:33:10: error: 'unique_lock' is not a member of 'std'
33 | std::unique_lock lock{mutex};
| ^~~~~~~~~~~
src/video_core/shader_notify.cpp:6:1: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
5 | #include "video_core/shader_notify.h"
+++ |+#include <mutex>
6 |
src/video_core/shader_notify.cpp: In member function 'void VideoCore::ShaderNotify::MarkSharderBuilding()':
src/video_core/shader_notify.cpp:38:10: error: 'unique_lock' is not a member of 'std'
38 | std::unique_lock lock{mutex};
| ^~~~~~~~~~~
src/video_core/shader_notify.cpp:38:10: note: 'std::unique_lock' is defined in header '<mutex>'; did you forget to '#include <mutex>'?
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/shader_notify.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cpp index c3c71657d9..693e47158e 100644 --- a/src/video_core/shader_notify.cpp +++ b/src/video_core/shader_notify.cpp @@ -2,6 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. +#include <mutex> #include "video_core/shader_notify.h" using namespace std::chrono_literals; |