]> git.tdb.fi Git - libs/core.git/blobdiff - source/formatter.cpp
Further style and comment adjustments
[libs/core.git] / source / formatter.cpp
index c7b24a504fcfe377b74210a78016e0d7cf2a8fb0..d9d311d5f43813a921016f0694661ce5da67fed4 100644 (file)
@@ -48,7 +48,7 @@ void Formatter::advance()
                                break;
                }
 
                                break;
                }
 
-               result+=*pos;
+               result += *pos;
        }
 }
 
        }
 }
 
@@ -61,7 +61,7 @@ Fmt Formatter::get_conversion()
        if(pos==fmt.end())
                throw Exception("Too many arguments for format");
 
        if(pos==fmt.end())
                throw Exception("Too many arguments for format");
 
-       string::iterator i=pos;
+       string::iterator i = pos;
        for(; i!=fmt.end(); ++i)
                if(isalpha(*i))
                        break;
        for(; i!=fmt.end(); ++i)
                if(isalpha(*i))
                        break;
@@ -71,7 +71,7 @@ Fmt Formatter::get_conversion()
 
        ++i;
        string c(pos, i);
 
        ++i;
        string c(pos, i);
-       pos=i;
+       pos = i;
 
        return Fmt(c);
 }
 
        return Fmt(c);
 }