Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2edbe2

Browse files
committed
fix compiler warning (clang12 on MacOS)
1 parent 96ca3b6 commit a2edbe2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

process_moc.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,12 @@ struct moc_input
280280
size_t options_bytes;
281281
size_t options_size;
282282
layout_vec layout;
283-
int order = 0;
283+
int order;
284284

285285
std::string s;
286286
moc_input() : options_bytes(0), options_size(0)
287287
{
288+
order = 0;
288289
layout.reserve(5);
289290
}
290291
void dump()

0 commit comments

Comments
 (0)