Skip to content

Commit

Permalink
Merge pull request #22467 from gartung/OnlineDB-EcalCondDB-clangwarni…
Browse files Browse the repository at this point in the history
…ng-cleanup

OnlineDB/EcalCondDB: Clean up the following clang warnings:
  • Loading branch information
cmsbuild committed Mar 20, 2018
2 parents 0a4b454 + a710c4c commit 9fbdcea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions OnlineDB/EcalCondDB/interface/LMFCorrCoefDatComponent.h
Expand Up @@ -40,6 +40,8 @@ class LMFCorrCoefDatComponent: public LMFDat {

LMFLmrSubIOV getLMFLmrSubIOV() const;
int getLMFLmrSubIOVID() const;
friend class LMFUnique;
using LMFUnique::getParameters;
std::vector<float> getParameters(const EcalLogicID &id);
std::vector<float> getParameterErrors(const EcalLogicID &id);
std::vector<float> getParameters(int id);
Expand Down
2 changes: 1 addition & 1 deletion OnlineDB/EcalCondDB/interface/LMFUnique.h
Expand Up @@ -86,11 +86,11 @@ class LMFUnique: public IUniqueDBObject {
virtual std::string setByIDSql(Statement *stmt,
int id) { return ""; }

virtual void getParameters(ResultSet *rset) {}
virtual void fetchParentIDs() {}
virtual LMFUnique * createObject() const;

protected:
virtual void getParameters(ResultSet *rset) {}
virtual int writeDB() noexcept(false);
virtual int writeForeignKeys() noexcept(false);
virtual void setClassName(std::string s) { m_className = s; }
Expand Down

0 comments on commit 9fbdcea

Please sign in to comment.