CaloRec: Fix undefined behavior sanitizer warning.
Force the test to have a link dependency on libCaloRecLib; otherwise, the linker will remove the dependency. And if we don't link against libCaloRecLib, then we can get ubsan errors related to ConstDataVector<CaloCellCollection> because in that case, the typeinfo for it won't get exported from the test binary.
Loading
Please register or sign in to comment