Skip to content

Commit

Permalink
applied suggested code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Purva-Chaudhari committed Jul 5, 2021
1 parent b8bec15 commit b8725b5
Show file tree
Hide file tree
Showing 8 changed files with 303 additions and 354 deletions.
5 changes: 2 additions & 3 deletions CondCore/CondDB/plugins/RelationalAuthenticationService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,15 @@
#include <memory>
#include <sys/stat.h>


#include "CoralBase/MessageStream.h"

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(
std::bind(&cond::RelationalAuthenticationService::RelationalAuthenticationService::setAuthenticationPath,
this,
std::placeholders::_1));
this,
std::placeholders::_1));

coral::Property* pm = dynamic_cast<coral::Property*>(
coral::Context::instance().PropertyManager().property(auth::COND_AUTH_PATH_PROPERTY));
Expand Down
4 changes: 2 additions & 2 deletions CondCore/CondDB/plugins/XMLAuthenticationService.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ const coral::IAuthenticationCredentials& cond::XMLAuthenticationService::DataSou

cond::XMLAuthenticationService::XMLAuthenticationService::XMLAuthenticationService(const std::string& key)
: coral::Service(key), m_isInitialized(false), m_inputFileName(""), m_data(), m_mutexLock(), m_callbackID(0) {
boost::function1<void, std::string> cb(
std::bind(&cond::XMLAuthenticationService::XMLAuthenticationService::setAuthenticationPath, this, std::placeholders::_1));
boost::function1<void, std::string> cb(std::bind(
&cond::XMLAuthenticationService::XMLAuthenticationService::setAuthenticationPath, this, std::placeholders::_1));

coral::Property* pm = dynamic_cast<coral::Property*>(
coral::Context::instance().PropertyManager().property(auth::COND_AUTH_PATH_PROPERTY));
Expand Down
1 change: 0 additions & 1 deletion GeneratorInterface/LHEInterface/plugins/LH5Source.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <string>
#include <memory>


#include "FWCore/Framework/interface/InputSourceMacros.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/EventPrincipal.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <sstream>
#include <string>


#include "FWCore/Framework/interface/InputSourceMacros.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Event.h"
Expand Down
1 change: 0 additions & 1 deletion GeneratorInterface/Pythia6Interface/src/Pythia6Service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <string>
#include <set>


#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <filesystem>
Expand Down
1 change: 0 additions & 1 deletion PerfTools/Callgrind/test/ProfilerServiceTest.cppunit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

#include <boost/ref.hpp>


#include <limits>
#include <vector>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion RecoLocalTracker/SiPixelRecHits/src/VVIObj.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include <cmath>
#include <algorithm>


namespace VVIObjDetails {
void sincosint(double x, double& sint, double& cint); //! Private version of the cosine and sine integral
double cosint(double x); //! Private version of the cosine integral
Expand Down
Loading

0 comments on commit b8725b5

Please sign in to comment.