Skip to content

Avoid mixed use of inline const string and static string as with clang10 results in null value

For whatever reason (compiler bug?) clang10 does not like

inline const std::string Default = LHCb::Det::VP::det_path;

where LHCb::Det::VP::det_path is a static string, as this results in a NULL value.

https://lhcb-nightlies.web.cern.ch/logs/tests/nightly/lhcb-gaudi-head/2662/x86_64-centos7-clang10-opt/Boole/

This MR converts the statics to inlines to avoid this.

Edited by Christopher Rob Jones

Merge request reports

Loading