Skip to content

Commit

Permalink
Run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Aug 2, 2023
1 parent abfc800 commit 9768f56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions k4FWCore/components/PodioInput.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef FWCORE_PODIOINPUT_H
#define FWCORE_PODIOINPUT_H
// Gaudi
#include "GaudiAlg/Consumer.h"
#include "Gaudi/Property.h"
#include "GaudiAlg/Consumer.h"

// STL
#include <string>
Expand All @@ -21,8 +21,7 @@ using BaseClass_t = Gaudi::Functional::Traits::BaseClass_t<Gaudi::Algorithm>;

class PodioInput final : public Gaudi::Functional::Consumer<void(), BaseClass_t> {
public:

PodioInput( const std::string& name, ISvcLocator* svcLoc );
PodioInput(const std::string& name, ISvcLocator* svcLoc);
void operator()() const override;

private:
Expand Down
4 changes: 2 additions & 2 deletions k4FWCore/include/k4FWCore/DataWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ template <class T> class GAUDI_API DataWrapper : public DataWrapperBase {

public:
DataWrapper() : m_data(nullptr){};
DataWrapper(std::unique_ptr<T> uptr) : m_data(uptr.get()){
DataWrapper(std::unique_ptr<T> uptr) : m_data(uptr.get()) {
uptr.release();
is_owner = false;
};
Expand All @@ -41,7 +41,7 @@ template <class T> class GAUDI_API DataWrapper : public DataWrapperBase {

private:
const T* m_data;
bool is_owner{true};
bool is_owner{true};
};

template <class T> DataWrapper<T>::~DataWrapper() {
Expand Down

0 comments on commit 9768f56

Please sign in to comment.