@@ -37,8 +37,9 @@ namespace edm {
3737 public:
3838 typedef std::map<BranchKey, ProductDescription> ProductList;
3939
40- ProductRegistry ();
41-
40+ ProductRegistry () = default ;
41+ ProductRegistry (const ProductRegistry&) = default ;
42+ ProductRegistry (ProductRegistry&&) = default ;
4243 // A constructor from the persistent data members from another product registry.
4344 // saves time by not copying the transient components.
4445 // The constructed registry will be frozen by default.
@@ -48,12 +49,6 @@ namespace edm {
4849
4950 typedef std::map<BranchKey, ProductDescription const > ConstProductList;
5051
51- void addProduct (ProductDescription const & productdesc, bool iFromListener = false );
52-
53- void addLabelAlias (ProductDescription const & productdesc,
54- std::string const & labelAlias,
55- std::string const & instanceAlias);
56-
5752 void copyProduct (ProductDescription const & productdesc);
5853
5954 void setFrozen (bool initializeLookupInfo = true );
@@ -117,7 +112,6 @@ namespace edm {
117112 bool anyProducts (BranchType const brType) const ;
118113
119114 std::shared_ptr<ProductResolverIndexHelper const > productLookup (BranchType branchType) const ;
120- std::shared_ptr<ProductResolverIndexHelper> productLookup (BranchType branchType);
121115
122116 // returns the appropriate ProductResolverIndex else ProductResolverIndexInvalid if no BranchID is available
123117 ProductResolverIndex indexFrom (BranchID const & iID) const ;
@@ -163,6 +157,13 @@ namespace edm {
163157 AliasToOriginalVector aliasToOriginal_;
164158 };
165159
160+ protected:
161+ void addProduct_ (ProductDescription const & productdesc, bool iFromListener = false );
162+
163+ void addLabelAlias_ (ProductDescription const & productdesc,
164+ std::string const & labelAlias,
165+ std::string const & instanceAlias);
166+
166167 private:
167168 void setProductProduced (BranchType branchType) {
168169 transient_.productProduced_ [branchType] = true ;
0 commit comments