Skip to content

Commit

Permalink
Merge pull request #34670 from smuzaffar/OnlineDB-modernize-use-equal…
Browse files Browse the repository at this point in the history
…s-delete-fix

[OnlineDB][clang-tidy] make deleted function public
  • Loading branch information
cmsbuild committed Jul 31, 2021
2 parents 342fabc + eab3fa5 commit b9bdfe1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion OnlineDB/EcalCondDB/interface/DateHandler.h
Expand Up @@ -39,8 +39,9 @@ class DateHandler {
*/
Tm dateToTm(oracle::occi::Date& date) const;

private:
DateHandler() = delete; // hide the default constructor

private:
oracle::occi::Connection* m_conn;
oracle::occi::Environment* m_env;

Expand Down
7 changes: 4 additions & 3 deletions OnlineDB/EcalCondDB/interface/EcalCondDBInterface.h
Expand Up @@ -630,11 +630,12 @@ class EcalCondDBInterface : public EcalDBConnection {

DateHandler* dh;

EcalCondDBInterface() = delete;
EcalCondDBInterface(const EcalCondDBInterface& copy) = delete;

std::map<int, int> _logicId2DetId;
std::map<int, int> _detId2LogicId;

public:
EcalCondDBInterface() = delete;
EcalCondDBInterface(const EcalCondDBInterface& copy) = delete;
};

#endif

0 comments on commit b9bdfe1

Please sign in to comment.