From fbb38d01e50b7cb09a87ed78bdcf2f70a04486cc Mon Sep 17 00:00:00 2001
From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch>
Date: Fri, 8 Apr 2016 17:33:06 +0200
Subject: [PATCH] 'CMakeLists.txt' (LArRawUtils-00-09-28)

	* Tagging LArRawUtils-00-09-28.
	* LArRawUtils/LArTT_Selector.icc: Fix assignment op.
---
 LArCalorimeter/LArRawUtils/CMakeLists.txt     | 34 +++++++++++++++++++
 .../LArRawUtils/LArTT_Selector.icc            |  5 +--
 2 files changed, 37 insertions(+), 2 deletions(-)
 create mode 100644 LArCalorimeter/LArRawUtils/CMakeLists.txt

diff --git a/LArCalorimeter/LArRawUtils/CMakeLists.txt b/LArCalorimeter/LArRawUtils/CMakeLists.txt
new file mode 100644
index 00000000000..be1bad84853
--- /dev/null
+++ b/LArCalorimeter/LArRawUtils/CMakeLists.txt
@@ -0,0 +1,34 @@
+################################################################################
+# Package: LArRawUtils
+################################################################################
+
+# Declare the package name:
+atlas_subdir( LArRawUtils )
+
+# Declare the package's dependencies:
+atlas_depends_on_subdirs( PUBLIC
+                          Calorimeter/CaloIdentifier
+                          Calorimeter/CaloTTDetDescr
+                          Control/AthenaBaseComps
+                          Control/AthenaKernel
+                          Control/StoreGate
+                          DetectorDescription/Identifier
+                          GaudiKernel
+                          LArCalorimeter/LArIdentifier
+                          LArCalorimeter/LArRawEvent
+                          PRIVATE
+                          Calorimeter/CaloTriggerTool
+                          DetectorDescription/AtlasDetDescr
+                          LArCalorimeter/LArTools )
+
+# Component(s) in the package:
+atlas_add_library( LArRawUtilsLib
+                   src/*.cxx
+                   PUBLIC_HEADERS LArRawUtils
+                   LINK_LIBRARIES CaloIdentifier CaloTTDetDescr AthenaBaseComps AthenaKernel Identifier GaudiKernel LArIdentifier LArRawEvent StoreGateLib SGtests CaloTriggerToolLib LArToolsLib
+                   PRIVATE_LINK_LIBRARIES AtlasDetDescr )
+
+atlas_add_component( LArRawUtils
+                     src/components/*.cxx
+                     LINK_LIBRARIES CaloIdentifier CaloTTDetDescr AthenaBaseComps AthenaKernel StoreGateLib SGtests Identifier GaudiKernel LArIdentifier LArRawEvent CaloTriggerToolLib AtlasDetDescr LArToolsLib LArRawUtilsLib )
+
diff --git a/LArCalorimeter/LArRawUtils/LArRawUtils/LArTT_Selector.icc b/LArCalorimeter/LArRawUtils/LArRawUtils/LArTT_Selector.icc
index 946fdff022f..7fc50257524 100755
--- a/LArCalorimeter/LArRawUtils/LArRawUtils/LArTT_Selector.icc
+++ b/LArCalorimeter/LArRawUtils/LArRawUtils/LArTT_Selector.icc
@@ -49,13 +49,14 @@ typename LArTT_Selector<CONTAINER>::const_iterator&
 LArTT_Selector<CONTAINER>::const_iterator:: operator = 
 	( const LArTT_Selector<CONTAINER>::const_iterator & it ) 
 {
-
+  if (this != &it) {
 	  m_vec_itpair  = it.m_vec_itpair      ; 
 	  m_pair_it     = it.m_pair_it         ;
 	  m_obj_it      = it.m_obj_it          ;
 	  m_obj_it_end  = it.m_obj_it_end      ;
+  }
 
-	return *this; 
+  return *this; 
 }
 
 
-- 
GitLab