Skip to content

Commit cc2b70d

Browse files
committed
Fix compiler warning with GCC
1 parent 6232698 commit cc2b70d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/DataSource.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class PodioColumnReader : public ROOT::Detail::RDF::RColumnReaderBase {
2121
public:
2222
explicit PodioColumnReader(const podio::CollectionBase** ptr) : fPtr(ptr) {
2323
}
24+
PodioColumnReader(const PodioColumnReader&) = delete;
25+
PodioColumnReader& operator=(const PodioColumnReader&) = delete;
2426
void* GetImpl(Long64_t) override {
2527
// Return the actual collection pointer (T*), not the address of the storage (T**)
2628
// RColumnReaderBase::Get<T> does *static_cast<T*>(GetImpl()), so we return the T* itself

0 commit comments

Comments
 (0)