diff --git a/FWCore/Framework/interface/GenericProduct.h b/FWCore/Framework/interface/GenericProduct.h index 5659e50103a..5d947076f71 100644 --- a/FWCore/Framework/interface/GenericProduct.h +++ b/FWCore/Framework/interface/GenericProduct.h @@ -15,7 +15,8 @@ namespace edm { class GenericProduct { public: - GenericProduct(ObjectWithDict const& object, TypeWithDict const& wrapper) : object_{object}, wrapperType_{wrapper} {} + GenericProduct(ObjectWithDict const& object, TypeWithDict const& wrapper) + : object_{object}, wrapperType_{wrapper} {} // The GenericProduct *does not* take ownership of the object. // The caller must guarantee that the object remains valid as long as needed. diff --git a/FWCore/TestModules/plugins/GenericCloner.cc b/FWCore/TestModules/plugins/GenericCloner.cc index 3a06caa0574..7c9e8dac05a 100644 --- a/FWCore/TestModules/plugins/GenericCloner.cc +++ b/FWCore/TestModules/plugins/GenericCloner.cc @@ -136,7 +136,8 @@ namespace edmtest { std::memcpy(recv_buffer.Buffer(), send_buffer.Buffer(), size); void* clone_ptr = reinterpret_cast(recv_buffer.ReadObjectAny(product.objectType_.getClass())); - auto clone = std::make_unique(edm::ObjectWithDict(product.objectType_, clone_ptr), product.wrappedType_); + auto clone = std::make_unique(edm::ObjectWithDict(product.objectType_, clone_ptr), + product.wrappedType_); // specialise Event::put for GenericProduct event.put(product.putToken_, std::move(clone));