Skip to content

Commit 3bc1188

Browse files
committed
made registerThinnedAssociations used only conditionally
Use C++ concept to avoid declaring unnecessary functions.
1 parent 4cfe290 commit 3bc1188

File tree

12 files changed

+11
-12
lines changed

12 files changed

+11
-12
lines changed

FWCore/Framework/interface/OutputModuleCore.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ namespace edm {
208208
void doOpenFile(FileBlock const& fb);
209209
void doRespondToOpenInputFile(FileBlock const& fb);
210210
void doRespondToCloseInputFile(FileBlock const& fb);
211-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
212211

213212
/// Tell the OutputModule that is must end the current file.
214213
void doCloseFile();

FWCore/Framework/interface/global/EDAnalyzerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ namespace edm {
100100
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
101101

102102
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
103-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
104103

105104
void registerProductsAndCallbacks(EDAnalyzerBase* module, SignallingProductRegistryFiller* reg);
106105

FWCore/Framework/interface/global/EDFilterBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ namespace edm {
107107
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
108108

109109
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
110-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
111110

112111
void registerProductsAndCallbacks(EDFilterBase* module, SignallingProductRegistryFiller* reg) {
113112
registerProducts(module, reg, moduleDescription_);

FWCore/Framework/interface/global/EDProducerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ namespace edm {
104104
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
105105

106106
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
107-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
108107

109108
void registerProductsAndCallbacks(EDProducerBase* module, SignallingProductRegistryFiller* reg) {
110109
registerProducts(module, reg, moduleDescription_);

FWCore/Framework/interface/limited/EDAnalyzerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ namespace edm {
105105
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
106106

107107
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
108-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
109108

110109
void registerProductsAndCallbacks(EDAnalyzerBase* module, SignallingProductRegistryFiller* reg);
111110

FWCore/Framework/interface/limited/EDFilterBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ namespace edm {
111111
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
112112

113113
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
114-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
115114

116115
void registerProductsAndCallbacks(EDFilterBase* module, SignallingProductRegistryFiller* reg) {
117116
registerProducts(module, reg, moduleDescription_);

FWCore/Framework/interface/limited/EDProducerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ namespace edm {
108108
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
109109

110110
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
111-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
112111

113112
void registerProductsAndCallbacks(EDProducerBase* module, SignallingProductRegistryFiller* reg) {
114113
registerProducts(module, reg, moduleDescription_);

FWCore/Framework/interface/one/EDAnalyzerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ namespace edm {
9696
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
9797

9898
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
99-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
10099

101100
void registerProductsAndCallbacks(EDAnalyzerBase const* module, SignallingProductRegistryFiller* reg);
102101

FWCore/Framework/interface/one/EDFilterBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ namespace edm {
103103
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
104104

105105
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
106-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
107106

108107
void registerProductsAndCallbacks(EDFilterBase* module, SignallingProductRegistryFiller* reg) {
109108
registerProducts(module, reg, moduleDescription_);

FWCore/Framework/interface/one/EDProducerBase.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ namespace edm {
103103
void doEndLuminosityBlock(LumiTransitionInfo const&, ModuleCallingContext const*);
104104

105105
void doRespondToCloseOutputFile() { clearInputProcessBlockCaches(); }
106-
void doRegisterThinnedAssociations(ProductRegistry const&, ThinnedAssociationsHelper&) {}
107106

108107
void registerProductsAndCallbacks(EDProducerBase* module, SignallingProductRegistryFiller* reg) {
109108
registerProducts(module, reg, moduleDescription_);

0 commit comments

Comments
 (0)