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

Commit 8600a501 authored by Steven Moreland's avatar Steven Moreland
Browse files

libutils: Singleton: no destroy mutex

For -Wexit-time-destructors, saves space+memory.

Bug: 411725417
Test: N/A
Change-Id: I6cbec0dab775441615c1bc2f2a7037526a68677a
parent 9ccbab0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@ protected:
private:
    Singleton(const Singleton&);
    Singleton& operator = (const Singleton&);
    static Mutex sLock;
    [[clang::no_destroy]] static Mutex sLock;
    static TYPE* sInstance;
};