mirror of https://github.com/odrling/Aegisub
Remove a pointless static bool
This commit is contained in:
parent
6fec035958
commit
b7a8dea753
|
@ -199,9 +199,7 @@ struct AssOverrideTagProto {
|
||||||
|
|
||||||
static std::vector<AssOverrideTagProto> proto;
|
static std::vector<AssOverrideTagProto> proto;
|
||||||
static void load_protos() {
|
static void load_protos() {
|
||||||
static bool loaded = false;
|
if (!proto.empty()) return;
|
||||||
if (loaded) return;
|
|
||||||
loaded = true;
|
|
||||||
|
|
||||||
proto.resize(56);
|
proto.resize(56);
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
Loading…
Reference in New Issue