Depsgraph: Fix strict compiler error with copy on write disabled
This commit is contained in:
@@ -82,7 +82,7 @@ struct DepsgraphNodeBuilder {
|
||||
#ifdef WITH_COPY_ON_WRITE
|
||||
return (T *)cow->id.newid;
|
||||
#else
|
||||
return cow;
|
||||
return (T *)cow;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user