Commit 8b0068a8 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

must not rely on some header file including <algorithm>

any.h includes <algorithm> (but this is to go away).
if a class needs <algorithm> itself, it ought to include it explicitly.
parent 1189d590
......@@ -12,6 +12,7 @@
#include "plugins/PluginFactory.h"
#include <map>
#include <algorithm>
CPPEXTERN_NEW_WITH_GIMME(pix_record);
......
......@@ -25,6 +25,8 @@
#include "RTE/Symbol.h"
#include <algorithm>
CPPEXTERN_NEW_WITH_GIMME(pix_video);
......
......@@ -21,6 +21,7 @@
#include "Gem/Properties.h"
#include "imageloader.h"
#include <algorithm>
gem::plugins::film :: ~film(void) {}
/* initialize the film factory */
......
......@@ -18,6 +18,8 @@
#include "Gem/RTE.h"
#include "Gem/Exception.h"
#include <algorithm>
gem::plugins::imageloader :: ~imageloader(void) {}
static gem::PluginFactoryRegistrar::dummy<gem::plugins::imageloader> fac_imageloaderdummy;
......
......@@ -19,6 +19,8 @@
#include "Gem/Files.h"
#include "Gem/Exception.h"
#include <algorithm>
gem::plugins::imagesaver :: ~imagesaver(void) {}
static gem::PluginFactoryRegistrar::dummy<gem::plugins::imagesaver> fac_imagesaverdummy;
......
......@@ -20,6 +20,7 @@
#include "Gem/Properties.h"
#include <string>
#include <algorithm>
namespace gem { namespace plugins {
......
......@@ -20,6 +20,8 @@
#include "Gem/RTE.h"
#include "Gem/Exception.h"
#include <algorithm>
gem::plugins::record :: ~record(void) {}
static gem::PluginFactoryRegistrar::dummy<gem::plugins::record> fac_recorddummy;
......
......@@ -15,8 +15,9 @@
#include "plugins/video.h"
#include "plugins/PluginFactory.h"
gem::plugins::video :: ~video(void) {}
#include <algorithm>
gem::plugins::video :: ~video(void) {}
static gem::PluginFactoryRegistrar::dummy<gem::plugins::video> fac_videodummy;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment