[Rprotobuf-commits] r679 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 31 21:13:27 CET 2013


Author: murray
Date: 2013-12-31 21:13:27 +0100 (Tue, 31 Dec 2013)
New Revision: 679

Modified:
   pkg/src/RSourceTree.cpp
Log:
Replace it++ with ++it for efficiency.

Suggested by Flexelint.


Modified: pkg/src/RSourceTree.cpp
===================================================================
--- pkg/src/RSourceTree.cpp	2013-12-31 20:12:26 UTC (rev 678)
+++ pkg/src/RSourceTree.cpp	2013-12-31 20:13:27 UTC (rev 679)
@@ -19,7 +19,7 @@
             file += filename;
             file_descriptor = open(file.c_str(), O_RDONLY);
             if (file_descriptor > 0) break;
-            it++;
+            ++it;
         }
     }
 



More information about the Rprotobuf-commits mailing list