Code

BUG 178048 Void method which returns a value in stringstream.h confuses g++ 3.3
authortheAdib <theAdib@users.sourceforge.net>
Sat, 22 Dec 2007 13:49:04 +0000 (13:49 +0000)
committertheAdib <theAdib@users.sourceforge.net>
Sat, 22 Dec 2007 13:49:04 +0000 (13:49 +0000)
src/svg/stringstream.h

index 5622884586c4ac2267c5b17e3fcd4d643b05445f..8ef5ece523b1c7ee3d21063ac3a5ff9d5e5e837d 100644 (file)
@@ -48,7 +48,7 @@ public:
     }
     
     void str (std::string &s) {
-        return ostr.str(s);
+        ostr.str(s);
     }
 
     std::streamsize precision() const {