Skip to content
Snippets Groups Projects
Commit 01e5663c authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

LArReadoutGeometry: Fix cppcheck warnings.

 - Prefer pre-increment (or range-for) to postincrement.
parent 588a2900
No related branches found
No related tags found
No related merge requests found
...@@ -453,7 +453,7 @@ FCAL_ChannelMap::print_tubemap( int imap) const ...@@ -453,7 +453,7 @@ FCAL_ChannelMap::print_tubemap( int imap) const
boost::io::ios_all_saver ias (std::cout); boost::io::ios_all_saver ias (std::cout);
std::cout << "First 10 elements of the New FCAL tube map : " << imap << std::endl; std::cout << "First 10 elements of the New FCAL tube map : " << imap << std::endl;
std::cout.precision(5); std::cout.precision(5);
for ( int i=0; i<10; i++, it++) for ( int i=0; i<10; ++i, ++it)
std::cout << std::hex << it->first << "\t" std::cout << std::hex << it->first << "\t"
<< (it->second).get_tileName() << std::dec <<"\t" << (it->second).get_tileName() << std::dec <<"\t"
<< (it->second).x() <<"\t" << (it->second).x() <<"\t"
......
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