Statetrace: Clean up style.
[gem5.git] / util / statetrace / printer.hh
index db3b8c1b82991165bddbe468f08cfdac15724b20..3e23cf425f242f1d89a68096e854cb3658766fa6 100644 (file)
@@ -79,12 +79,14 @@ class RegPrinter : public PrinterObject
         PrinterObject(newChild), intRegNum(num)
     {;}
 
-    void regNum(int num)
+    void
+    regNum(int num)
     {
         intRegNum = num;
     }
 
-    int regNum()
+    int
+    regNum()
     {
         return intRegNum;
     }
@@ -94,14 +96,14 @@ class RegPrinter : public PrinterObject
     std::ostream & writeOut(std::ostream & os);
 };
 
-static inline std::ostream & operator << (std::ostream & os,
-        PrinterObject & printer)
+static inline std::ostream &
+operator << (std::ostream & os, PrinterObject & printer)
 {
     return printer.writeOut(os);
 }
 
-static inline std::ostream & operator << (std::ostream & os,
-        PrinterPointer & printer)
+static inline std::ostream &
+operator << (std::ostream & os, PrinterPointer & printer)
 {
     return printer->writeOut(os);
 }