diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-12 18:17:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-11-12 18:17:34 +0900 |
| commit | 2e5d9b056f2cf398d8996d93a4c7fbc1fbe66221 (patch) | |
| tree | 9f557267de4078108fd8ada3bfc1b8ec513c6f8a /src/AuthConfig.cc | |
| parent | c4e66390acb285433a519ec8ee94f67bb7464bbf (diff) | |
Removed strconcat
Diffstat (limited to 'src/AuthConfig.cc')
| -rw-r--r-- | src/AuthConfig.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/AuthConfig.cc b/src/AuthConfig.cc index ec80b99f..470aa0b9 100644 --- a/src/AuthConfig.cc +++ b/src/AuthConfig.cc @@ -51,7 +51,10 @@ AuthConfig::~AuthConfig() {} std::string AuthConfig::getAuthText() const { - return strconcat(user_, ":", password_); + std::string s = user_; + s += ":"; + s += password_; + return s; } std::ostream& operator<<(std::ostream& o, const AuthConfigHandle& authConfig) |
