Skip to content

array::insert_at defined with TOML_API rather than TOML_EXTERNAL_LINKAGE #136

@Azarael

Description

@Azarael

Environment

toml++ version and/or commit hash:
v3 - commit hash 5c5abfd

Compiler:
MSVC 2022

C++ standard mode:
latest

Target arch:
x64

Library configuration overrides:
None.

Relevant compilation flags:
None.

Describe the bug

The definition of array::insert_at in array.inl is preceded by TOML_API rather than TOML_EXTERNAL_LINKAGE (inline) as the other functions in the file are. This is causing ODR violations in my project.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions