UMutex not is_trivially_constructible

Description

We are seeing a compile error on Windows with the clang compiler, a failing

1 static_assert(std::is_trivially_constructible<UMutex>::value, "UMutex not trivially constructable.");

in umutex.cpp.

Turns out is_trivially_constructible is not guaranteed for the std::atomic<pointer> inside the UMutex.

Status

Assignee

Markus Scherer

Reporter

Markus Scherer

Labels

None

Reviewer

None

Time Needed

Hours

Start date

None

Components

Fix versions

Priority

major
Configure