Skip to content

[BUG] multiple definition of visionary::VisionaryControl::kSessionTimeout #1

Description

@arrfou99

I get a multiple definition error that I never got before which is not clear to me why!

After checking it looks like there are two kSessionTimeout defined where we have this constant defined two times:

constexpr std::chrono::seconds VisionaryControl::kSessionTimeout;

static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5);

in order to avoid this error I had to remove the line VisionaryControl.cpp and use this in the VisionaryControl.h

 static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions