From 526f54233854b210250a1d3e2505e6c573f6f610 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Sat, 10 Aug 2024 19:21:52 +0200 Subject: [PATCH] Don't throw a pedantic warning because of #warning (#89) --- .../include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp index 93157c7..ed8fe4c 100644 --- a/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp +++ b/k4EDM4hep2LcioConv/include/k4EDM4hep2LcioConv/k4EDM4hep2LcioConv.ipp @@ -342,7 +342,8 @@ std::unique_ptr convertTPCHits(const edm4hep::RawTimeSeri if (edm_tpchit.isAvailable()) { auto* lcio_tpchit = new lcio::TPCHitImpl(); -#warning "unsigned long long conversion to int" +#pragma message "unsigned long long conversion to int" + lcio_tpchit->setCellID(edm_tpchit.getCellID()); lcio_tpchit->setTime(edm_tpchit.getTime()); lcio_tpchit->setCharge(edm_tpchit.getCharge());