Drawable Renderer (#1570), gcc12 warnings, fix CMake

This commit is contained in:
mwilsnd
2023-07-03 14:08:45 -05:00
committed by Bart Louwers
parent 8d9fe37a6b
commit 8b814fe769
3 changed files with 31 additions and 26 deletions

View File

@@ -183,6 +183,8 @@ TEST(Thread, ThreadPoolMessaging) {
}
TEST(Thread, ReferenceCanOutliveThread) {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuse-after-free" // See AspiringActor<>::object()
auto thread = std::make_unique<Thread<TestWorker>>("Test");
auto worker = thread->actor();
@@ -194,6 +196,7 @@ TEST(Thread, ReferenceCanOutliveThread) {
using namespace std::literals;
std::this_thread::sleep_for(10s);
#pragma GCC diagnostic pop
}
TEST(Thread, DeletePausedThread) {