Reintroduce operator>>() in Book class

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-05-08 09:12:28 +01:00
parent f78488bbdb
commit d5f0b91c06
2 changed files with 6 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ public:
const std::string name() const { return bookName; }
private:
template<typename T> void get_number(T& n);
template<typename T> Book& operator>>(T& n);
BookEntry read_entry(int idx);
int find_entry(uint64_t key);