Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8a36dea authored by Chris Forbes's avatar Chris Forbes
Browse files

Use std::shared_mutex in debug_report

Bug: b/143295577
Change-Id: Iee285c4a7ea42fc25b5463f79894d3cca58f17c1
parent da550ea0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -78,8 +78,7 @@ class DebugReportCallbackList {
        VkDebugReportCallbackEXT driver_handle;
    };

    // TODO(b/143295577): use std::shared_mutex when available in libc++
    mutable std::shared_timed_mutex rwmutex_;
    mutable std::shared_mutex rwmutex_;
    Node head_;
};