Skip to content

defines.hpp missing keyword inline on operator << in MSGPACK_ADD_ENUM Macro #77

@rkloeters

Description

@rkloeters

When trying to use the Macro MSGPACK_ADD_ENUM on a baseclass for derived classes that use the same enum in the derived class causes a linker error "Multiple definition of operator <<".
The operator << should be using the keyword inline too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions