jamboree / bustache

C++20 implementation of {{ mustache }}
82 stars 10 forks source link

fix missing field 'done' initializer warning in render.cpp #33

Closed martinzink closed 1 year ago

martinzink commented 1 year ago

When compiling the project with -Wall most compilers complain about

src/render.cpp:429:66: warning: missing field 'done' initializer [-Wmissing-field-initializers]
                    nested_resolver nested{sub, key_cache, handle};

Since the struct is partially initialized it doesnt really matter because .done will be zero initialized, but it would be nice if we didnt get any warnings.