Refactoring according Google C++ Style.
This commit is contained in:
@@ -144,6 +144,7 @@ bool BookListService::Post(const std::string& request_content,
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
bool BookDetailService::Get(const std::vector<std::string>& url_sub_matches,
|
||||
const webcc::UrlQuery& query,
|
||||
std::string* response_content) {
|
||||
if (url_sub_matches.size() != 1) {
|
||||
return false;
|
||||
|
||||
@@ -32,6 +32,7 @@ class BookListService : public webcc::RestListService {
|
||||
class BookDetailService : public webcc::RestDetailService {
|
||||
protected:
|
||||
bool Get(const std::vector<std::string>& url_sub_matches,
|
||||
const webcc::UrlQuery& query,
|
||||
std::string* response_content) final;
|
||||
|
||||
bool Patch(const std::vector<std::string>& url_sub_matches,
|
||||
|
||||
Reference in New Issue
Block a user