summaryrefslogtreecommitdiff
path: root/src/AuthConfig.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-12 18:17:34 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-12 18:17:34 +0900
commit2e5d9b056f2cf398d8996d93a4c7fbc1fbe66221 (patch)
tree9f557267de4078108fd8ada3bfc1b8ec513c6f8a /src/AuthConfig.cc
parentc4e66390acb285433a519ec8ee94f67bb7464bbf (diff)
Removed strconcat
Diffstat (limited to 'src/AuthConfig.cc')
-rw-r--r--src/AuthConfig.cc5
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)