Commit 829863ad authored by Atlas-Software Librarian's avatar Atlas-Software Librarian Committed by Graeme Stewart
Browse files

'CMakeLists.txt' (TrkSpaceTimePoint-01-00-01)

	* fix coverity defect
13154 09/07/2014 (Medium) Uninitialized scalar field :/Tracking/TrkEvent/TrkSpaceTimePoint/src/SpaceTimePointBase.cxx in function "SpaceTimePointBase"
	* tag as TrkSpaceTimePoint-01-00-01
parent 5a5f0c9f
################################################################################
# Package: TrkSpaceTimePoint
################################################################################
# Declare the package name:
atlas_subdir( TrkSpaceTimePoint )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
DetectorDescription/GeoPrimitives
Event/EventPrimitives
Tracking/TrkEvent/TrkEventPrimitives
PRIVATE
GaudiKernel )
# External dependencies:
find_package( Eigen )
# Component(s) in the package:
atlas_add_library( TrkSpaceTimePoint
src/*.cxx
PUBLIC_HEADERS TrkSpaceTimePoint
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS}
LINK_LIBRARIES ${EIGEN_LIBRARIES} GeoPrimitives EventPrimitives TrkEventPrimitives
PRIVATE_LINK_LIBRARIES GaudiKernel )
......@@ -11,11 +11,9 @@ Trk::SpaceTimePointBase::SpaceTimePointBase(const float& t, const float& t_error
{}
Trk::SpaceTimePointBase::SpaceTimePointBase( const Trk::SpaceTimePointBase& stpb){
if (this!=&stpb){
m_time = stpb.m_time;
m_errorTime = stpb.m_errorTime;
m_weight = stpb.m_weight;
}
}
Trk::SpaceTimePointBase& Trk::SpaceTimePointBase::operator=(const Trk::SpaceTimePointBase& stpb) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment