|
|
Am 01.07.2014 18:31, schrieb Le_Forgeron:
> Seems the only error that remains (in many place) for gcc is about
> shared_ptr with NULL. (it might be enough, if you want to keep NULL, to
> have a C-old cast in void*, such as
>
> return GenericNormalBlendMapPtr((void*)NULL);
>
> ) (as long as to be ugly with C NULL, a C-cast seems not that more to
> the vessel; Of course, a default empty constructor is fine.. but we know
> theses lines are not to be executed)
I've decided to go for a parameterless shared_ptr constructor with a
comment.
Let me know what ca65fc523763201fde29dffd89c63788d81bdd16 does.
Post a reply to this message
|
|