Skip to content

Commit

Permalink
Mark function inline to avoid linker problems
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Oct 4, 2024
1 parent f4a926a commit fc868a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion converter/include/k4SimDelphes/DelphesEDM4HepConverter.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ namespace k4SimDelphes {
std::string className;
};

std::vector<BranchSettings> getBranchSettings(ExRootConfParam /*const&*/ treeConf) {
inline std::vector<BranchSettings> getBranchSettings(ExRootConfParam /*const&*/ treeConf) {
std::vector<k4SimDelphes::BranchSettings> branches;
for (int b = 0; b < treeConf.GetSize(); b += 3) {
k4SimDelphes::BranchSettings branch{treeConf[b].GetString(), treeConf[b + 1].GetString(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ namespace k4SimDelphes {
return settings;
}

OutputSettings getEDM4hepOutputSettings(const char* confFile) {
inline OutputSettings getEDM4hepOutputSettings(const char* confFile) {
ExRootConfReader confReader{};
confReader.ReadFile(confFile);
return getEDM4hepOutputSettings(&confReader);
Expand Down

0 comments on commit fc868a1

Please sign in to comment.