Skip to content

log adjustments

Stephan Lachnit requested to merge p-log-adjustments into master

In https://gitlab.cern.ch/allpix-squared/allpix-squared/-/blob/1ba78a3e4ed15a2ebf84c1010b59964e092dd048/src/core/utils/log.h#L283, ##LINE is not actually evaluated. Instead you need a 2-level macro for this since __LINE__ itself is a macro (I know, it sounds confusing). See https://stackoverflow.com/a/19666216/17555746 for details.

This MR fixes this issue and also removes an unneeded string copy.

Edited by Stephan Lachnit

Merge request reports