Skip to content

override Layer::Serialize in wrong manner #36

@lordnn

Description

@lordnn

Very often you override Serialize() method for SomeLayer class only for setting SerializeVersion to archive. Better to add some virtual method to setup correct SerializeVersion. In some over cases you override it to add some suffix info, but you have working mechanism for it in CCompositeLayer, you may expand serializationHook idea to whole Layers hierarchy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorclean-up code with no change original functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions