blob: 589998b7fb3decda36538dbf47f1b055b7ca7ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From ecd20f15cb3fa5a0ebabd647b1f57f3cd62cb4b7 Mon Sep 17 00:00:00 2001
From: sledgehammer_999 <hammered999@gmail.com>
Date: Mon, 20 Feb 2017 01:22:27 +0200
Subject: [PATCH] Move include into implementation instead(from #1702).
---
bindings/python/src/create_torrent.cpp | 1 +
include/libtorrent/create_torrent.hpp | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp
index 31abb07..e856d85 100644
--- a/bindings/python/src/create_torrent.cpp
+++ b/bindings/python/src/create_torrent.cpp
@@ -6,6 +6,7 @@
#include <libtorrent/create_torrent.hpp>
#include <libtorrent/file_storage.hpp>
#include "libtorrent/intrusive_ptr_base.hpp"
+#include <libtorrent/version.hpp>
#include "bytes.hpp"
using namespace boost::python;
diff --git a/include/libtorrent/create_torrent.hpp b/include/libtorrent/create_torrent.hpp
index d55e86a..8d2c680 100644
--- a/include/libtorrent/create_torrent.hpp
+++ b/include/libtorrent/create_torrent.hpp
@@ -42,7 +42,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/utf8.hpp"
#include "libtorrent/allocator.hpp"
#include "libtorrent/file.hpp" // for combine_path etc.
-#include "libtorrent/version.hpp"
#include <vector>
#include <string>
|