code format

This commit is contained in:
keita
2021-03-05 11:31:44 +09:00
parent 9aa3fe1c9a
commit dcb2565df6
10 changed files with 49 additions and 47 deletions
+5 -4
View File
@@ -13,10 +13,11 @@ void Create::id(const std::string& _id) {
CocoaTweet::API::Model::Tweet Create::process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth) {
CocoaTweet::API::Model::Tweet tweet;
HttpPost::process(_oauth, [&tweet](const unsigned int _responseCode, const std::string& _rcv) {
tweet = CocoaTweet::API::Model::Tweet(_responseCode, _rcv);
});
HttpPost::process(_oauth,
[&tweet](const unsigned int _responseCode, const std::string& _rcv) {
tweet = CocoaTweet::API::Model::Tweet(_responseCode, _rcv);
});
return tweet;
return tweet;
}
} // namespace CocoaTweet::API::Favorites