diff --git a/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx b/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
index f250b9c910fca2a1621928ff2df83b6e17bd6fab..01dbf04b9f5c9f7013e593b086d175f2e8a234b4 100644
--- a/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
+++ b/Trigger/TrigAnalysis/TrigInDetAnalysisUser/Analysis/src/comparitor.cxx
@@ -4,7 +4,7 @@
  **     @author  mark sutton
  **     @date    Fri 12 Oct 2012 13:39:05 BST 
  **
- **     Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
+ **     Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
  **/
 
 
@@ -197,9 +197,9 @@ public:
 
   bands() { } 
 
-  bands( const bands& b ) : m_limits(b.m_limits), m_labels(b.m_labels) { }  
+  bands( const bands& b ) = default;
 
-  bands( std::vector<double> limits, std::vector<std::string> labels ) 
+  bands( const std::vector<double>& limits, const std::vector<std::string>& labels ) 
   : m_limits(limits), m_labels(labels)
   {   }