turned fast-resume errors into error_codes. fixed typo in documentation

This commit is contained in:
Arvid Norberg
2009-06-28 00:36:41 +00:00
parent 8454d51ba1
commit e9bd8f6e1f
8 changed files with 145 additions and 74 deletions

View File

@@ -174,7 +174,7 @@ struct test_storage : storage_interface
virtual bool move_storage(fs::path save_path)
{ return m_lower_layer->move_storage(save_path); }
virtual bool verify_resume_data(lazy_entry const& rd, std::string& error)
virtual bool verify_resume_data(lazy_entry const& rd, error_code& error)
{ return m_lower_layer->verify_resume_data(rd, error); }
virtual bool write_resume_data(entry& rd) const