Skip to content

Commit

Permalink
Init values in FakeDisplay. Uninitialized values cause troubles in Me…
Browse files Browse the repository at this point in the history
…nu class tests on Windows.
  • Loading branch information
przemek83 committed Oct 3, 2024
1 parent f25b03f commit b3f7626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/FakeDisplay.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class FakeDisplay : public Display
void resetChangedAreas() { changedAreas_.clear(); }

private:
int resourceWidth_;
int resourceHeight_;
int resourceWidth_ {0};
int resourceHeight_ {0};

mutable std::vector<ChangedArea> changedAreas_;
};

0 comments on commit b3f7626

Please sign in to comment.