Remove unused #includes

This commit is contained in:
Gunnar Beutner 2015-03-29 00:03:47 +01:00
parent 8c75e16b2a
commit 111b154a6d
10 changed files with 9 additions and 15 deletions

View File

@ -25,9 +25,7 @@
#include "base/object.hpp"
#include "base/type.hpp"
#include "base/dictionary.hpp"
#include "base/debuginfo.hpp"
#include <boost/signals2.hpp>
#include <map>
namespace icinga
{

View File

@ -83,7 +83,7 @@
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#include "visibility.hpp"
#include "base/visibility.hpp"
#ifdef I2_BASE_BUILD
# define I2_BASE_API I2_EXPORT

View File

@ -23,7 +23,6 @@
#include "base/i2-base.hpp"
#include "base/debug.hpp"
#include "base/thinmutex.hpp"
#include <boost/thread/thread.hpp>
#ifndef I2_DEBUG
#include <boost/thread/mutex.hpp>
@ -31,6 +30,8 @@
#include <boost/thread/recursive_mutex.hpp>
#endif /* I2_DEBUG */
#include <boost/thread/condition_variable.hpp>
#include <boost/smart_ptr/intrusive_ptr.hpp>
using boost::intrusive_ptr;

View File

@ -18,6 +18,7 @@
******************************************************************************/
#include "base/scriptframe.hpp"
#include "base/scriptglobal.hpp"
using namespace icinga;
@ -56,4 +57,4 @@ ScriptFrame *ScriptFrame::GetCurrentFrame(void)
void ScriptFrame::SetCurrentFrame(ScriptFrame *frame)
{
m_CurrentFrame.reset(new ScriptFrame *(frame));
}
}

View File

@ -22,7 +22,6 @@
#include "config/i2-config.hpp"
#include "base/dictionary.hpp"
#include "base/scriptglobal.hpp"
#include <boost/thread/tss.hpp>
namespace icinga

View File

@ -22,10 +22,6 @@
#include "base/i2-base.hpp"
#include "base/object.hpp"
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/signals2.hpp>
namespace icinga
{

View File

@ -26,7 +26,7 @@
#include <string.h>
#include <functional>
#include <string>
#include <istream>
#include <iosfwd>
namespace icinga {

View File

@ -24,7 +24,6 @@
#include "base/string.hpp"
#include "base/object.hpp"
#include "base/initialize.hpp"
#include <boost/function.hpp>
#include <vector>
namespace icinga

View File

@ -23,11 +23,11 @@
#include "base/i2-base.hpp"
#include "base/string.hpp"
#include "base/array.hpp"
#include <typeinfo>
#include "base/threadpool.hpp"
#include <boost/function.hpp>
#include <boost/thread/tss.hpp>
#include <typeinfo>
#include <vector>
#include "base/threadpool.hpp"
namespace icinga
{

View File

@ -22,12 +22,12 @@
#include "base/i2-base.hpp"
#include "base/timer.hpp"
#include <deque>
#include <boost/function.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/exception_ptr.hpp>
#include <deque>
namespace icinga
{