mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #245 from lioncash/drawstring
CDrawStringOptions: Resize vector within constructor
This commit is contained in:
commit
b13a6b491b
|
@ -18,7 +18,7 @@ class CDrawStringOptions {
|
||||||
std::vector<CTextColor> x4_colors;
|
std::vector<CTextColor> x4_colors;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CDrawStringOptions() { x4_colors.resize(16); }
|
CDrawStringOptions() : x4_colors(16) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue