Merge pull request #245 from lioncash/drawstring

CDrawStringOptions: Resize vector within constructor
This commit is contained in:
Luke Street 2020-03-18 01:04:08 -04:00 committed by GitHub
commit b13a6b491b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class CDrawStringOptions {
std::vector<CTextColor> x4_colors;
public:
CDrawStringOptions() { x4_colors.resize(16); }
CDrawStringOptions() : x4_colors(16) {}
};
} // namespace urde