diff --git a/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/TrackFilter.cxx b/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/TrackFilter.cxx
index b164fca466e0960cfe45daf4b088424b5207d7b8..a8fd6a23927f80bbf8303b980b9f0ce65c067b9a 100755
--- a/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/TrackFilter.cxx
+++ b/InnerDetector/InDetCosmics/InDetCosmicsFilters/src/TrackFilter.cxx
@@ -88,7 +88,7 @@ StatusCode InDet::TrackFilter::execute()
   std::vector<std::string>::const_iterator it=m_inputTrackCollectionNames.begin();
   std::vector<std::string>::const_iterator itE=m_inputTrackCollectionNames.end();
 
-  for(;it!=itE && !passed;it++){
+  for(;it!=itE && !passed;++it){
 
   // input TrackSegment Collection
     const TrackCollection *tracks   = 0;
diff --git a/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/TRT_SegmentsToTrack.cxx b/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/TRT_SegmentsToTrack.cxx
index 4bd32be0c3ec6083528c4446858775274c48ad5e..695d52f191e55eb592d3a20481b178e5d0da2ace 100755
--- a/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/TRT_SegmentsToTrack.cxx
+++ b/InnerDetector/InDetCosmics/TRT_SegmentsToTrack/src/TRT_SegmentsToTrack.cxx
@@ -289,9 +289,9 @@ StatusCode InDet::TRT_SegmentsToTrack::execute()
           int index=1;
           for ( ; itSet!=itSetEnd; ++itSet) {
             double inprod1=((**itSet).trackParameters()->position()-myper->position()).dot(myper->momentum());
-            itSet--;
+            --itSet;
             double inprod2=((**itSet).trackParameters()->position()-myper->position()).dot(myper->momentum());
-            itSet++;
+            ++itSet;
             if (inprod1>0 && inprod2<0) {
               trajectory.insert(trajectory.begin()+index,pertsos);
               peradded=true;
@@ -418,7 +418,7 @@ int InDet::TRT_SegmentsToTrack::getNumberReal(const InDet::TRT_DriftCircle* drif
 
   if(!truthCollectionTRT.isValid()) return 0;
   std::pair<iter,iter> range = truthCollectionTRT->equal_range(driftcircle->identify());
-  for(iter i = range.first; i != range.second; i++){
+  for(iter i = range.first; i != range.second; ++i){
     numBarcodes++;
   }
   return numBarcodes;