Fix T103960: build issue with GCC 13 in Cycles thread code

This commit is contained in:
Brecht Van Lommel 2023-01-18 13:42:55 +01:00
parent 6f206f713e
commit e8d1d1486e
Notes: blender-bot 2023-09-13 12:43:37 +02:00
Referenced by issue #103960, FTBFS with GCC 13
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@
#include "util/system.h"
#include "util/windows.h"
#include <system_error>
CCL_NAMESPACE_BEGIN
thread::thread(function<void()> run_cb) : run_cb_(run_cb), joined_(false)