X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fbase.cpp;h=3c9923dd504a728dc1a2f17c2887ff32cc911553;hp=174bace5792e436b75765adea64f1aeff44e03d6;hb=73a21b6f495e16707ede460a2c9d8f1474bb4d93;hpb=c0861d1f8e3869f058bc8b152cd35a08e5b03e73 diff --git a/source/base.cpp b/source/base.cpp index 174bace..3c9923d 100644 --- a/source/base.cpp +++ b/source/base.cpp @@ -9,8 +9,6 @@ Distributed under the LGPL using namespace std; -#include - namespace Msp { namespace IO { @@ -23,10 +21,10 @@ bool Base::getline(string &line) while(1) { - int c=get(); + int c = get(); if(c==-1 || c=='\n') break; - line+=c; + line += c; } return !eof_flag || !line.empty(); @@ -61,8 +59,7 @@ Base::Base(): void Base::set_events(PollEvent e) { - //cout<<"object "<