Depsgraph: Fix strict compiler error with copy on write disabled

This commit is contained in:
Sergey Sharybin 2017-07-19 16:26:22 +02:00
parent 53c1d15675
commit e29c54674c
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ struct DepsgraphNodeBuilder {
#ifdef WITH_COPY_ON_WRITE
return (T *)cow->id.newid;
#else
return cow;
return (T *)cow;
#endif
}