Cleanup async client APIs.

This commit is contained in:
Chunting Gu
2019-03-07 16:02:49 +08:00
parent ffa0794926
commit 31d0ea3c9d
74 changed files with 267 additions and 2106 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ std::ostream& operator<<(std::ostream& os, const Book& book);
extern const Book kNullBook;
class BookStore {
public:
public:
const std::list<Book>& books() const { return books_; }
const Book& GetBook(const std::string& id) const;
@@ -33,7 +33,7 @@ class BookStore {
bool DeleteBook(const std::string& id);
private:
private:
std::list<Book>::const_iterator FindBook(const std::string& id) const;
std::list<Book>::iterator FindBook(const std::string& id);