diff --git a/library/include/Core.h b/library/include/Core.h index 14adbfd6e4..3eb36b9bb7 100644 --- a/library/include/Core.h +++ b/library/include/Core.h @@ -403,7 +403,6 @@ namespace DFHack protected: void complete_lock() { - auto& core = Core::getInstance(); tid = core.ownerThread.exchange(std::this_thread::get_id(), std::memory_order_acquire); }