Merge pull request #196 from lioncash/saveable

CSaveableState: Initialize vectors in the constructor initializer list
This commit is contained in:
Phillip Stephens 2020-03-08 18:03:01 -07:00 committed by GitHub
commit b01fa0c5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -35,10 +35,7 @@ protected:
EVerticalJustification x84_vjust = EVerticalJustification::Top; EVerticalJustification x84_vjust = EVerticalJustification::Top;
public: public:
CSaveableState() { CSaveableState() : x54_colors(3, zeus::skBlack), x64_colorOverrides(16) {}
x54_colors.resize(3, zeus::skBlack);
x64_colorOverrides.resize(16);
}
bool IsFinishedLoading() const; bool IsFinishedLoading() const;
}; };