Skip to content
Snippets Groups Projects
Commit 38b33d90 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

EventContainers: Fix unchecked StatusCodes

parent 76b87d52
No related branches found
No related tags found
No related merge requests found
/* /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
// This is a test cxx file for IdentifiableContainerMT. // This is a test cxx file for IdentifiableContainerMT.
...@@ -590,7 +590,9 @@ int ID_ContainerTest::execute(){ ...@@ -590,7 +590,9 @@ int ID_ContainerTest::execute(){
} }
auto acollection = new MyCollection(MyID(55)); auto acollection = new MyCollection(MyID(55));
for(int f=0;f<20;f++) acollection->add(new MyDigit(f)); for(int f=0;f<20;f++) acollection->add(new MyDigit(f));
containerOnline->addCollection(acollection, IdentifierHash(55)); if (containerOnline->addCollection(acollection, IdentifierHash(55)).isFailure()) {
std::cout << "Error in addCollection cache link" << std::endl; std::abort();
}
SELECTOR select(containerOnline); SELECTOR select(containerOnline);
digit_const_iterator it1 = select.begin(); digit_const_iterator it1 = select.begin();
......
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