Skip to content

Commit

Permalink
code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlange6 committed Jun 3, 2021
1 parent 2251b4b commit b265c83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CondCore/CondDB/interface/CredentialStore.h
Expand Up @@ -22,7 +22,7 @@ namespace coral {

inline std::string to_lower(const std::string& s) {
std::string str(s);
std::transform(str.begin(), str.end(), str.begin(), [](unsigned char c){ return std::tolower(c); });
std::transform(str.begin(), str.end(), str.begin(), [](unsigned char c) { return std::tolower(c); });
return str;
}

Expand Down
6 changes: 4 additions & 2 deletions CondCore/CondDB/plugins/RelationalAuthenticationService.cc
Expand Up @@ -23,8 +23,10 @@
cond::RelationalAuthenticationService::RelationalAuthenticationService::RelationalAuthenticationService(
const std::string& key)
: coral::Service(key), m_authenticationPath(""), m_db(), m_cache(), m_callbackID(0) {
boost::function1<void, std::string> cb(boost::bind(
&cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath, this, boost::placeholders::_1));
boost::function1<void, std::string> cb(
boost::bind(&cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath,
this,
boost::placeholders::_1));

coral::Property* pm = dynamic_cast<coral::Property*>(
coral::Context::instance().PropertyManager().property(auth::COND_AUTH_PATH_PROPERTY));
Expand Down

0 comments on commit b265c83

Please sign in to comment.