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

Commit 219aba11 authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Leon Scroggins
Browse files

Mark CachedSet::mFingerprint as const

Bug: 163076219
Test: make

This field is never updated, and we wouldn't want it to be, either.
Remove its redundant initializer, too.

Change-Id: I18b6d921e52559fdab9def8cd1d22d166cc3c64b
parent 796cdab0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ public:
private:
    CachedSet() = default;

    NonBufferHash mFingerprint = 0;
    const NonBufferHash mFingerprint;
    std::chrono::steady_clock::time_point mLastUpdate = std::chrono::steady_clock::now();
    std::vector<Layer> mLayers;
    Rect mBounds = Rect::EMPTY_RECT;