From 9bd3c777cd7ed189f48fb2028faa8753d3c6f440 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 15 Oct 2024 10:12:11 +0200 Subject: [PATCH] Fix pre-commit --- k4FWCore/components/IIOSvc.h | 5 ++--- k4FWCore/include/k4FWCore/Consumer.h | 2 +- k4FWCore/include/k4FWCore/Transformer.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/k4FWCore/components/IIOSvc.h b/k4FWCore/components/IIOSvc.h index df07eff8..61821294 100644 --- a/k4FWCore/components/IIOSvc.h +++ b/k4FWCore/components/IIOSvc.h @@ -39,9 +39,8 @@ class IIOSvc : virtual public IInterface { * @brief Read the next event from the input file * @return A tuple containing the collections read, the collection names and the frame that owns the collections */ - virtual std::tuple, std::vector, podio::Frame> - next() = 0; - virtual std::shared_ptr> getCollectionNames() const = 0; + virtual std::tuple, std::vector, podio::Frame> next() = 0; + virtual std::shared_ptr> getCollectionNames() const = 0; virtual podio::Writer& getWriter() = 0; virtual void deleteWriter() = 0; diff --git a/k4FWCore/include/k4FWCore/Consumer.h b/k4FWCore/include/k4FWCore/Consumer.h index 4744a322..9b08a4ae 100644 --- a/k4FWCore/include/k4FWCore/Consumer.h +++ b/k4FWCore/include/k4FWCore/Consumer.h @@ -43,7 +43,7 @@ namespace k4FWCore { : Gaudi::Functional::details::DataHandleMixin, std::tuple<>, Traits_> { using Gaudi::Functional::details::DataHandleMixin, std::tuple<>, Traits_>::DataHandleMixin; - static_assert(((std::is_base_of_v || isVectorLike_v) && ...), + static_assert(((std::is_base_of_v || isVectorLike_v)&&...), "Consumer input types must be EDM4hep collections or vectors of collection pointers"); template using InputHandle_t = Gaudi::Functional::details::InputHandle_t; diff --git a/k4FWCore/include/k4FWCore/Transformer.h b/k4FWCore/include/k4FWCore/Transformer.h index bd61e2a3..48c9a076 100644 --- a/k4FWCore/include/k4FWCore/Transformer.h +++ b/k4FWCore/include/k4FWCore/Transformer.h @@ -43,7 +43,7 @@ namespace k4FWCore { : Gaudi::Functional::details::DataHandleMixin, std::tuple<>, Traits_> { using Gaudi::Functional::details::DataHandleMixin, std::tuple<>, Traits_>::DataHandleMixin; - static_assert(((std::is_base_of_v || isVectorLike_v) && ...), + static_assert(((std::is_base_of_v || isVectorLike_v)&&...), "Transformer and Producer input types must be EDM4hep collections or vectors of collections"); static_assert((std::is_base_of_v || isVectorLike_v || std::is_same_v),