diff --git a/include/libtorrent/storage_defs.hpp b/include/libtorrent/storage_defs.hpp index 23ab76240..bce009363 100644 --- a/include/libtorrent/storage_defs.hpp +++ b/include/libtorrent/storage_defs.hpp @@ -58,8 +58,9 @@ namespace libtorrent storage_mode_sparse, // internal - internal_storage_mode_compact_deprecated, + internal_storage_mode_compact_deprecated #ifndef TORRENT_NO_DEPRECATE + , // comma here to avoid compiler warning storage_mode_compact = internal_storage_mode_compact_deprecated #endif };