Skip to content
Snippets Groups Projects
Commit e7ac04bf authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'gcc9.EventContainers-20181210' into 'master'

EventContainers: Fix gcc9 warnings.

See merge request atlas/athena!16639
parents 3a947115 bb7068fc
No related branches found
No related tags found
No related merge requests found
......@@ -106,17 +106,6 @@ public:
/// iterator constructor
const_iterator() : m_sptr(), m_current(nullptr), m_idContainer(nullptr), m_end(false) { }
/// assignment operator
const_iterator& operator = ( const const_iterator & it ) {
if(this == &it) return *this;//Safeguard against self assignment
m_hashItr = it.m_hashItr;
m_sptr = it.m_sptr;
m_current = it.m_current;
m_idContainer = it.m_idContainer;
m_end = it.m_end;
return *this;
}
/// increment operator
const_iterator& operator ++ () {
if(m_end) return *this;
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
#include "EventContainers/IdentifiableContainerMT.h"
#include <vector>
......@@ -208,6 +208,8 @@ public:
PseudoView(int s, int r, EventContainers::IdentifiableCache<MyCollection>* inIDC, int i) : IDC(inIDC), RoIStart(s), RoIEnd(r),
threads(i), c() {}
PseudoView (const PseudoView&) = default;
PseudoView& operator= (const PseudoView&) = default;
virtual ~PseudoView() {}
};
......
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