From b2e3739da2bf9daa28090371e9ae659d0f080e15 Mon Sep 17 00:00:00 2001 From: Ivan Sorokin Date: Sat, 18 Oct 2014 03:37:34 +0400 Subject: [PATCH] Replace include of with forward declaration --- src/geoip/geoipmanager.cpp | 1 + src/geoip/geoipmanager.h | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/geoip/geoipmanager.cpp b/src/geoip/geoipmanager.cpp index 9401ed091..6b970d52c 100644 --- a/src/geoip/geoipmanager.cpp +++ b/src/geoip/geoipmanager.cpp @@ -65,6 +65,7 @@ #include #include "fs_utils.h" +#include using namespace libtorrent; diff --git a/src/geoip/geoipmanager.h b/src/geoip/geoipmanager.h index 00bb730fa..7ea828e57 100644 --- a/src/geoip/geoipmanager.h +++ b/src/geoip/geoipmanager.h @@ -31,10 +31,13 @@ #ifndef GEOIPMANAGER_H #define GEOIPMANAGER_H -#include #include #include +namespace libtorrent { + class session; +} + class GeoIPManager : public QObject { Q_OBJECT