fixed CheckSum Stream output operator
authorMichael Andres <ma@suse.de>
Tue, 27 Jun 2006 12:02:15 +0000 (12:02 +0000)
committerMichael Andres <ma@suse.de>
Tue, 27 Jun 2006 12:02:15 +0000 (12:02 +0000)
zypp/CheckSum.h

index ac39b94..22bf5f2 100644 (file)
@@ -57,7 +57,8 @@ namespace zypp
 
   /** \relates CheckSum Stream output. */
   inline std::ostream & operator<<( std::ostream & str, const CheckSum & obj )
-  { return str << (obj.empty() ? obj.type()+"-"+obj.checksum() : std::string("NoCheckSum") ); }
+  { return str << (obj.empty() ? std::string("NoCheckSum")
+                               : obj.type()+"-"+obj.checksum()  ); }
 
   /** \relates CheckSum */
   inline bool operator==( const CheckSum & lhs, const CheckSum & rhs )