diff --git a/examples/custom_storage.cpp b/examples/custom_storage.cpp index 8e4424223..6043758b4 100644 --- a/examples/custom_storage.cpp +++ b/examples/custom_storage.cpp @@ -45,7 +45,7 @@ struct temp_storage : lt::storage_interface explicit temp_storage(lt::file_storage const& fs) : lt::storage_interface(fs) {} void initialize(lt::storage_error&) override {} bool has_any_file(lt::storage_error&) override { return false; } - virtual void set_file_priority(lt::aux::vector& + void set_file_priority(lt::aux::vector& , lt::storage_error&) override {} int readv(lt::span bufs, lt::piece_index_t piece , int offset, lt::open_mode_t, lt::storage_error&) override