]> git.tdb.fi Git - libs/core.git/commitdiff
Formatting fixes
authorMikko Rasa <tdb@tdb.fi>
Sun, 29 Aug 2021 14:15:28 +0000 (17:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 29 Aug 2021 22:42:03 +0000 (01:42 +0300)
source/core/application.h
source/core/maputils.h
source/debug/backtrace.cpp
source/io/buffered.h

index 59d5bf110e9706425f113dd43d1d7d0ef2ca1019..93fccd8de94e9d6b300d66f37d5de2a82bb5840d 100644 (file)
@@ -46,7 +46,7 @@ public:
 
        This function can only be called once.  The global main() function provided
        by the library normally does it automatically at program startup. */
-       static int run(int, char **, void * =0, void (*)(void *) = 0);
+       static int run(int, char **, void * = 0, void (*)(void *) = 0);
 
        /** Sets application startup info, including argv[0] value and platform-
        specific data.
index f5faa1271a2e1317523767c5e9c3e6a858792027..88f47cd367b60c3e85d72d075e59370971295c79 100644 (file)
@@ -28,7 +28,7 @@ static std::string stringify_key(const T &k)
        try
        {
                LexicalConverter conv((Fmt()));
-               conv<<k;
+               conv << k;
                return conv.get();
        }
        catch(const lexical_error &)
index de1f76e910611ee6dd95be1fadcda9dc727e4ff8..1236145aa67088d0b2aae1fd02031bd4b14068a6 100644 (file)
@@ -44,17 +44,17 @@ Backtrace Backtrace::create()
 ostream &operator<<(ostream &out, const Backtrace &bt)
 {
        for(const Backtrace::StackFrame &f: bt.get_frames())
-               out<<f<<'\n';
+               out << f << '\n';
 
        return out;
 }
 
 ostream &operator<<(ostream &out, const Backtrace::StackFrame &sf)
 {
-       out<<sf.address;
+       out << sf.address;
        if(!sf.symbol.empty())
-               out<<" in "<<sf.symbol;
-       out<<" from "<<sf.file;
+               out << " in " << sf.symbol;
+       out << " from " << sf.file;
 
        return out;
 }
index cd742fee291ea4614c6f0a1d8190bb1d67bbfa49..eeae3e4008bb3bc46629c6927323e3570bfa2747 100644 (file)
@@ -18,7 +18,7 @@ private:
        Mode cur_op;
 
 public:
-       Buffered(Base &, unsigned =8192);
+       Buffered(Base &, unsigned = 8192);
        ~Buffered();
 
        virtual void set_block(bool);