Fix compile error with msvc

error C2059: syntax error: '}'
This commit is contained in:
Germano Cavalcante
2022-11-22 09:13:16 -03:00
parent b79e5ae4f2
commit 02c6136958

View File

@@ -167,9 +167,10 @@ typedef struct TrackingCopyContext {
static TrackingCopyContext tracking_copy_context_new(void)
{
TrackingCopyContext ctx = {};
ctx.old_to_new_track_map = BLI_ghash_ptr_new(__func__);
ctx.old_to_new_plane_track_map = BLI_ghash_ptr_new(__func__);
TrackingCopyContext ctx = {
BLI_ghash_ptr_new(__func__), /* old_to_new_track_map */
BLI_ghash_ptr_new(__func__), /* old_to_new_plane_track_map */
};
return ctx;
}