Skip to content

Commit

Permalink
Revert "put include guards on boost/function"
Browse files Browse the repository at this point in the history
This reverts commit 8f0fe88.
  • Loading branch information
cbeck88 committed Jun 29, 2014
1 parent b4d6a25 commit ae39fe4
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 120 deletions.
5 changes: 0 additions & 5 deletions src/ai/composite/ai.cpp
Expand Up @@ -29,12 +29,7 @@
#include "../../log.hpp"

#include <boost/bind.hpp>

#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/foreach.hpp>

namespace ai {
Expand Down
5 changes: 0 additions & 5 deletions src/ai/composite/property_handler.hpp
Expand Up @@ -21,12 +21,7 @@
#ifndef AI_COMPOSITE_PROPERTY_HANDLER_HPP_INCLUDED
#define AI_COMPOSITE_PROPERTY_HANDLER_HPP_INCLUDED


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/foreach.hpp>

#include "config.hpp"
Expand Down
5 changes: 0 additions & 5 deletions src/ana/src/asio_server.hpp
Expand Up @@ -36,12 +36,7 @@

#include <boost/asio.hpp>
#include <boost/interprocess/smart_ptr/unique_ptr.hpp>

#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include "../api/ana.hpp"
#include "asio_listener.hpp"
Expand Down
5 changes: 0 additions & 5 deletions src/campaign_server/campaign_server.hpp
Expand Up @@ -19,12 +19,7 @@
#include "network.hpp"
#include "server/input_stream.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/scoped_ptr.hpp>
#include <boost/unordered_map.hpp>

Expand Down
5 changes: 0 additions & 5 deletions src/display.hpp
Expand Up @@ -62,12 +62,7 @@ namespace wb {

#include "overlay.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/weak_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <deque>
Expand Down
5 changes: 0 additions & 5 deletions src/gui/auxiliary/event/dispatcher.hpp
Expand Up @@ -22,12 +22,7 @@

#include "SDL_events.h"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/mpl/int.hpp>
#include <boost/utility/enable_if.hpp>

Expand Down
5 changes: 0 additions & 5 deletions src/gui/auxiliary/timer.hpp
Expand Up @@ -30,12 +30,7 @@
#ifndef GUI_WIDGETS_AUXILIARY_TIMER_HPP_INCLUDED
#define GUI_WIDGETS_AUXILIARY_TIMER_HPP_INCLUDED


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include <SDL_types.h>

Expand Down
5 changes: 0 additions & 5 deletions src/gui/auxiliary/window_builder.hpp
Expand Up @@ -19,12 +19,7 @@
#include "gui/widgets/grid.hpp"
#include "reference_counted_object.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


class config;
class CVideo;
Expand Down
5 changes: 0 additions & 5 deletions src/gui/dialogs/dialog.hpp
Expand Up @@ -17,12 +17,7 @@

#include "gui/dialogs/field-fwd.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include <string>
#include <vector>
Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/pane.hpp
Expand Up @@ -19,12 +19,7 @@
#include "gui/auxiliary/window_builder.hpp"
#include "gui/auxiliary/placer.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include <list>

Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/scrollbar.hpp
Expand Up @@ -18,12 +18,7 @@
#include "gui/auxiliary/notifier.hpp"
#include "gui/widgets/control.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


namespace gui2
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/selectable.hpp
Expand Up @@ -15,12 +15,7 @@
#ifndef GUI_WIDGETS_SELECTABLE_HPP_INCLUDED
#define GUI_WIDGETS_SELECTABLE_HPP_INCLUDED


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


namespace gui2
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/settings.hpp
Expand Up @@ -24,12 +24,7 @@

#include "utils/foreach.tpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include <string>
#include <vector>
Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/text.hpp
Expand Up @@ -21,12 +21,7 @@

#include <string>


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


namespace gui2
{
Expand Down
5 changes: 0 additions & 5 deletions src/gui/widgets/window.hpp
Expand Up @@ -29,12 +29,7 @@
#include "events.hpp"

#include <string>

#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


class CVideo;

Expand Down
5 changes: 0 additions & 5 deletions src/playturn_network_adapter.hpp
Expand Up @@ -5,12 +5,7 @@

#include "config.hpp"
#include <list>

#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


/*
The purpose if this class is to preprocess incoming network data, and provide a steam that always returns just one command/action at a time.
Expand Down
5 changes: 0 additions & 5 deletions src/random_new_synced.hpp
Expand Up @@ -20,12 +20,7 @@
#include "random_new.hpp"
#include "simple_rng.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif



/*
Expand Down
5 changes: 0 additions & 5 deletions src/server/player_network.hpp
Expand Up @@ -20,12 +20,7 @@
#include "player.hpp"
#include "simple_wml.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


namespace wesnothd {

Expand Down
5 changes: 0 additions & 5 deletions src/server/server.hpp
Expand Up @@ -25,12 +25,7 @@
#include "room_manager.hpp"
#include "simple_wml.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include <boost/scoped_ptr.hpp>

class server
Expand Down
5 changes: 0 additions & 5 deletions src/synced_commands.hpp
Expand Up @@ -18,12 +18,7 @@
#include <exception>
#include "config.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

class synced_command {
public:
/*
Expand Down
5 changes: 0 additions & 5 deletions src/synced_context.hpp
Expand Up @@ -14,12 +14,7 @@
#ifndef SYNCED_CONTEXT_H_INCLUDED
#define SYNCED_CONTEXT_H_INCLUDED


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif

#include "synced_commands.hpp"
#include "synced_checkup.hpp"
#include "replay.hpp"
Expand Down
5 changes: 0 additions & 5 deletions src/tests/test_sdl_utils.hpp
Expand Up @@ -17,12 +17,7 @@

#include "sdl/utils.hpp"


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


typedef boost::function<
void(const surface&, const double, const Uint32)>
Expand Down
5 changes: 0 additions & 5 deletions src/wesmage/filter.cpp
Expand Up @@ -19,12 +19,7 @@

#include <boost/bind.hpp>
#include <boost/foreach.hpp>

#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include <iostream>

Expand Down
5 changes: 0 additions & 5 deletions src/whiteboard/utility.hpp
Expand Up @@ -22,12 +22,7 @@
#include <vector>
#include <deque>


#ifndef INCL_BOOST_FUNCTION_HPP_
#define INCL_BOOST_FUNCTION_HPP_
#include <boost/function.hpp>
#endif


#include "typedefs.hpp"

Expand Down

0 comments on commit ae39fe4

Please sign in to comment.