Skip to content
Snippets Groups Projects
Commit 30da1fd2 authored by mariva00's avatar mariva00
Browse files

Fixes for gcc 4.5

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2699 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent a2c166d3
No related branches found
No related tags found
No related merge requests found
......@@ -472,11 +472,6 @@ void Scene::Unregister(GLWinBase* win)
win_=0;
}
template <typename ACTION>
void Scene::NotifyObservers(const ACTION& action) {
std::for_each(observers_.begin(), observers_.end(), action);
}
namespace {
struct FindNode: public GfxNodeVisitor {
FindNode(const String& n): nam(n), node() {}
......
......@@ -350,8 +350,11 @@ protected:
void RenderModeChanged(const String& name);
private:
template <typename ACTION>
void NotifyObservers(const ACTION& action);
void NotifyObservers(const ACTION& action) {
std::for_each(observers_.begin(), observers_.end(), action);
}
Scene();
Scene(const Scene&) {}
Scene& operator=(const Scene&) {return *this;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment