From f8e7602d9661539c6c75234d42e9ed3e6c6fa669 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Thu, 1 Apr 2021 11:49:38 +0300 Subject: [PATCH] Correctly forward declare file_prio_alert --- src/base/bittorrent/torrentimpl.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/base/bittorrent/torrentimpl.h b/src/base/bittorrent/torrentimpl.h index bc4232677..78fb2c804 100644 --- a/src/base/bittorrent/torrentimpl.h +++ b/src/base/bittorrent/torrentimpl.h @@ -53,10 +53,9 @@ // file_prio_alert is missing to be forward declared in "libtorrent/fwd.hpp" namespace libtorrent { - inline namespace v2 - { - struct file_prio_alert; - } + TORRENT_VERSION_NAMESPACE_3 + struct file_prio_alert; + TORRENT_VERSION_NAMESPACE_3_END } #endif