Skip to content
Snippets Groups Projects
Commit 5c63efe1 authored by Scott Snyder's avatar Scott Snyder Committed by Johannes Elmsheuser
Browse files

ISF_FastCaloSimParametrization: Fix cppcheck 2.14 warnings.

ISF_FastCaloSimParametrization: Fix cppcheck 2.14 warnings.

Prefer returning const references to members rather than copies.
parent bd30992f
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ public:
tileName_t get_tileName() const; //
float x() const; //
float y() const; //
std::string getHVft() const; //Gabe
const std::string& getHVft() const; //Gabe
private: //
tileName_t m_tileName; //
float m_x; //
......@@ -202,7 +202,7 @@ FCAL_ChannelMap::TubePosition::y() const
}
inline std::string
inline const std::string&
FCAL_ChannelMap::TubePosition::getHVft() const
{
return m_hvFT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment