Fix compile error with msvc
error C2059: syntax error: '}'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user