ATLAS Offline Software
Loading...
Searching...
No Matches
CompareAndPrint.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id: CompareAndPrint.cxx 470529 2011-11-24 23:54:22Z ssnyder $
13
16#include <iostream>
17
18
19namespace DataModel_detail {
20
26void CompareAndPrint::warn (const std::type_info& ti, const void* f) const
27{
28 std::cout << "DataVector ERROR: duplicated pointer found in a DataVector of "
29 << AthContainers_detail::typeinfoName(ti)
30 << " owning its elements! "
31 << std::hex << f << std::dec << std::endl;
32}
33
34} // namespace DataModel_detail
void warn(const std::type_info &ti, const void *f) const
Duplicate elements were found; print a warning.
Helper for emitting error messages.