Skip to content

Commit 34599c7

Browse files
committed
fix(core): Add explicit template instantiation for World constructor
Resolves linker errors across all CI builds by adding explicit instantiation of World<CartesianTag> constructor. Template implementations in .cpp files require explicit instantiation to be visible to other translation units. The constructor was implemented (lines 33-42) but lacked the explicit instantiation declaration, causing undefined reference errors at link time in gcc-11, gcc-13, clang-14, clang-16 Release and Debug builds. Also fixes clang-format violations in tungsten_input.hpp for Nix build. Reformats ParameterMetadata builder chains to meet project style. Fixes: undefined reference to 'pfc::world::World<CartesianTag>::World(...)' Fixes: 50+ clang-format violations in Nix build (exit code 281)
1 parent 2934bd7 commit 34599c7

File tree

2 files changed

+181
-216
lines changed

2 files changed

+181
-216
lines changed

0 commit comments

Comments
 (0)