diff options
Diffstat (limited to 'src/map/storage.hpp')
-rw-r--r-- | src/map/storage.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/storage.hpp b/src/map/storage.hpp index f3875c8..6874ca8 100644 --- a/src/map/storage.hpp +++ b/src/map/storage.hpp @@ -22,6 +22,8 @@ #include "fwd.hpp" +#include "../compat/fwd.hpp" + #include "../generic/fwd.hpp" #include "../mmo/fwd.hpp" @@ -36,8 +38,8 @@ int storage_storageadd(dumb_ptr<map_session_data> sd, IOff0 index, int amount); int storage_storageget(dumb_ptr<map_session_data> sd, SOff0 index, int amount); int storage_storageclose(dumb_ptr<map_session_data> sd); void do_final_storage(void); -Storage *account2storage(AccountId account_id); -Storage *account2storage2(AccountId account_id); +Borrowed<Storage> account2storage(AccountId account_id); +Option<Borrowed<Storage>> account2storage2(AccountId account_id); int storage_storage_quit(dumb_ptr<map_session_data> sd); int storage_storage_save(AccountId account_id, int final); int storage_storage_saved(AccountId account_id); |