Cleanup: C++ style of structure definition

This commit is contained in:
Sergey Sharybin 2019-03-18 12:47:18 +01:00
parent 4070bb242d
commit 4d2672ca7f
2 changed files with 4 additions and 4 deletions

View File

@ -93,9 +93,9 @@ static void deg_task_run_func(TaskPool *pool,
BLI_task_pool_delayed_push_end(pool, thread_id);
}
typedef struct CalculatePendingData {
struct CalculatePendingData {
Depsgraph *graph;
} CalculatePendingData;
};
static bool check_operation_node_visible(OperationNode *op_node)
{

View File

@ -838,11 +838,11 @@ ID *deg_expand_copy_on_write_datablock(const Depsgraph *depsgraph,
create_placeholders);
}
typedef struct ObjectRuntimeBackup {
struct ObjectRuntimeBackup {
Object_Runtime runtime;
short base_flag;
unsigned short base_local_view_bits;
} ObjectRuntimeBackup;
};
/* Make a backup of object's evaluation runtime data, additionally
* make object to be safe for free without invalidating backed up