diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/AuthConfig.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/AuthConfig.h')
| -rw-r--r-- | src/AuthConfig.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/AuthConfig.h b/src/AuthConfig.h index e25c0af3..6c35dbef 100644 --- a/src/AuthConfig.h +++ b/src/AuthConfig.h @@ -48,6 +48,7 @@ private: std::string authScheme_; std::string user_; std::string password_; + public: AuthConfig(); AuthConfig(std::string user, std::string password); @@ -59,18 +60,12 @@ public: std::string getAuthText() const; - const std::string& getUser() const - { - return user_; - } + const std::string& getUser() const { return user_; } - const std::string& getPassword() const - { - return password_; - } + const std::string& getPassword() const { return password_; } - static std::unique_ptr<AuthConfig> create - (std::string user, std::string password); + static std::unique_ptr<AuthConfig> create(std::string user, + std::string password); }; std::ostream& operator<<(std::ostream& o, |
