Skip to content

Commit

Permalink
cpp check fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
warunawickramasingha committed Nov 21, 2024
1 parent 409be08 commit 7c3e5cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace DataObjects {
*/
class MANTID_DATAOBJECTS_DLL PeakShapeDetectorBin : public PeakShapeBase {
public:
PeakShapeDetectorBin(std::vector<std::tuple<int32_t, double, double>> detectorBinList,
PeakShapeDetectorBin(const std::vector<std::tuple<int32_t, double, double>> &detectorBinList,
Kernel::SpecialCoordinateSystem frame, std::string algorithmName = std::string(),
int algorithmVersion = -1);
/// Equals operator
Expand Down
2 changes: 1 addition & 1 deletion Framework/DataObjects/src/PeakShapeDetectorBin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Mantid::DataObjects {
* @param algorithmName Name of the algorithm using this shape
* @param algorithmVersion Version of the above algorithm
*/
PeakShapeDetectorBin::PeakShapeDetectorBin(std::vector<std::tuple<int32_t, double, double>> detectorBinList,
PeakShapeDetectorBin::PeakShapeDetectorBin(const std::vector<std::tuple<int32_t, double, double>> &detectorBinList,
Kernel::SpecialCoordinateSystem frame, std::string algorithmName,
int algorithmVersion)
: PeakShapeBase(frame, std::move(algorithmName), algorithmVersion), m_detectorBinList(detectorBinList) {
Expand Down

0 comments on commit 7c3e5cc

Please sign in to comment.