aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/parsing.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-15 16:57:28 +0000
committerlloyd <[email protected]>2010-10-15 16:57:28 +0000
commit2420a7b38f2107e6671bd53ccd66a320f791c6d7 (patch)
tree436a4502ffef55fb4908e446faf22c786a052c06 /src/utils/parsing.cpp
parent4f939c4f33798e9aa300ea876ed3df28bc2739c3 (diff)
Prefix vs postfix
Diffstat (limited to 'src/utils/parsing.cpp')
-rw-r--r--src/utils/parsing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/parsing.cpp b/src/utils/parsing.cpp
index f46e2687d..9ec00040c 100644
--- a/src/utils/parsing.cpp
+++ b/src/utils/parsing.cpp
@@ -258,7 +258,7 @@ u32bit string_to_ipv4(const std::string& str)
u32bit ip = 0;
- for(size_t i = 0; i != parts.size(); i++)
+ for(size_t i = 0; i != parts.size(); ++i)
{
u32bit octet = to_u32bit(parts[i]);
@@ -278,7 +278,7 @@ std::string ipv4_to_string(u32bit ip)
{
std::string str;
- for(size_t i = 0; i != sizeof(ip); i++)
+ for(size_t i = 0; i != sizeof(ip); ++i)
{
if(i)
str += ".";