forked from cms-sw/cmssw
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed empty/unused functions from DBService
To make future maintenance easier and avoid possible thread-safety issues I removed empty functions and the one unused function which returned a pointer to the internals of the Service.
- Loading branch information
Showing
3 changed files
with
8 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#include "FWCore/ServiceRegistry/interface/ServiceMaker.h" | ||
#include "RecoLuminosity/LumiProducer/interface/DBService.h" | ||
using lumi::service::DBService; | ||
DEFINE_FWK_SERVICE(DBService); | ||
typedef edm::serviceregistry::ParameterSetMaker<DBService> DBServiceMaker; | ||
DEFINE_FWK_SERVICE_MAKER(DBService,DBServiceMaker); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters