Skip to content

Commit f1a6b04

Browse files
authored
Merge pull request #49971 from SegmentLinking/ariostas/add_typedemangle_16_0_x
[16.0.X] Add dummy implementation of edm::typeDemangle for standalone LST
2 parents ffd4add + c2310a7 commit f1a6b04

File tree

1 file changed

+8
-0
lines changed
  • RecoTracker/LSTCore/standalone/bin

1 file changed

+8
-0
lines changed

RecoTracker/LSTCore/standalone/bin/lst.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
#include <typeinfo>
55

6+
#include <boost/core/demangle.hpp>
7+
68
using LSTEvent = ALPAKA_ACCELERATOR_NAMESPACE::lst::LSTEvent;
79
using LSTInputDeviceCollection = ALPAKA_ACCELERATOR_NAMESPACE::lst::LSTInputDeviceCollection;
810
using namespace ::lst;
@@ -569,3 +571,9 @@ void run_lst() {
569571

570572
delete ana.output_tfile;
571573
}
574+
575+
// Dummy implementation of edm::typeDemangle (without extra replacements)
576+
// to avoid having to link extra libraries
577+
namespace edm {
578+
std::string typeDemangle(char const *mangledName) { return boost::core::demangle(mangledName); }
579+
} // namespace edm

0 commit comments

Comments
 (0)