summaryrefslogtreecommitdiffstats
path: root/thirdparty/embree/common/sys/mutex.h
diff options
context:
space:
mode:
authorJakub Mateusz Marcowski <01158831@pw.edu.pl>2024-02-24 12:40:55 +0100
committerJakub Marcowski <chubercikbattle@gmail.com>2024-03-27 22:10:35 +0100
commitc43eab55a417162624f47aed6bbbd0a4bd41c607 (patch)
tree3bd2fb83995573ef52edb5e8c8bfa686cff357aa /thirdparty/embree/common/sys/mutex.h
parentd2f9245ddc868b8ca04a6fb1b912ec4b59512c11 (diff)
downloadredot-engine-c43eab55a417162624f47aed6bbbd0a4bd41c607.tar.gz
embree: Update to 4.3.1
Diffstat (limited to 'thirdparty/embree/common/sys/mutex.h')
-rw-r--r--thirdparty/embree/common/sys/mutex.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/embree/common/sys/mutex.h b/thirdparty/embree/common/sys/mutex.h
index 26af6c582c..0f7345cf45 100644
--- a/thirdparty/embree/common/sys/mutex.h
+++ b/thirdparty/embree/common/sys/mutex.h
@@ -86,8 +86,8 @@ namespace embree
class PaddedSpinLock : public SpinLock
{
- private:
- char padding[CPU_CACHELINE_SIZE - sizeof(SpinLock)];
+ private:
+ MAYBE_UNUSED char padding[CPU_CACHELINE_SIZE - sizeof(SpinLock)];
};
/*! safe mutex lock and unlock helper */
template<typename Mutex> class Lock {