Browse Source

Added operator<<

Tatsuhiro Tsujikawa 18 years ago
parent
commit
0f514b0db1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/AuthConfigItem.h

+ 3 - 0
src/AuthConfigItem.h

@@ -44,6 +44,7 @@ private:
   string _password;
 public:
 
+  AuthConfigItem() {}
   AuthConfigItem(const string& user, const string& password):
     _user(user), _password(password) {}
 
@@ -65,4 +66,6 @@ public:
 
 typedef SharedHandle<AuthConfigItem> AuthConfigItemHandle;
 
+ostream& operator<<(ostream& o, const AuthConfigItemHandle& authConfigItem);
+
 #endif // _D_AUTH_CONFIG_ITEM_H_