From b45acf28a56ac6ee5876140fc15496346e364ed9 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 31 Dec 2017 00:01:54 +0100 Subject: [PATCH] improve fwd.hpp generator --- include/libtorrent/fwd.hpp | 4 ++-- tools/gen_fwd.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/libtorrent/fwd.hpp b/include/libtorrent/fwd.hpp index c99129f6b..df53d28bd 100644 --- a/include/libtorrent/fwd.hpp +++ b/include/libtorrent/fwd.hpp @@ -33,8 +33,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_FWD_HPP #define TORRENT_FWD_HPP -#include "libtorrent/export.hpp" - namespace libtorrent { // include/libtorrent/add_torrent_params.hpp @@ -272,4 +270,6 @@ struct lazy_entry; } +namespace lt = libtorrent; + #endif // TORRENT_FWD_HPP diff --git a/tools/gen_fwd.py b/tools/gen_fwd.py index aeb0137f6..671ad8c53 100644 --- a/tools/gen_fwd.py +++ b/tools/gen_fwd.py @@ -38,8 +38,6 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef TORRENT_FWD_HPP #define TORRENT_FWD_HPP -#include "libtorrent/export.hpp" - namespace libtorrent { ''' @@ -47,6 +45,8 @@ file_footer = ''' } +namespace lt = libtorrent; + #endif // TORRENT_FWD_HPP '''