Skip to content

Commit

Permalink
[OnlineDB][clang-tidy] make deleted function public
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 28, 2021
1 parent 23f1aad commit eab3fa5
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 eab3fa5

Please sign in to comment.