Skip to content

Commit b3bf9f0

Browse files
committed
Fix clang compilation issue
The default assignment/copy methods do not work because of restrictions from the member data.
1 parent f673be0 commit b3bf9f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FWIO/RNTupleTempInput/src/RootRNTuple.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ namespace edm::rntuple_temp {
3939
using EntryNumber = IndexIntoFile::EntryNumber_t;
4040
struct ProductInfo {
4141
ProductInfo(ProductDescription const& prod) : productDescription_(prod) {}
42-
ProductInfo(ProductInfo const&) = default;
43-
ProductInfo& operator=(ProductInfo const&) = default;
42+
ProductInfo(ProductInfo const&) = delete;
43+
ProductInfo& operator=(ProductInfo const&) = delete;
4444
ProductInfo(ProductInfo&&) = default;
45-
ProductInfo& operator=(ProductInfo&&) = default;
45+
ProductInfo& operator=(ProductInfo&&) = delete;
4646
void setField(ROOT::RFieldToken token, ROOT::RNTupleView<void> view, TClass const* wrapperBaseTClass);
4747
std::unique_ptr<WrapperBase> newWrapper() const;
4848
bool valid() const { return view_.has_value(); }

0 commit comments

Comments
 (0)