Fix a copy-paste error master
authorMikko Rasa <tdb@tdb.fi>
Sat, 19 Mar 2022 07:54:49 +0000 (09:54 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 19 Mar 2022 07:54:49 +0000 (09:54 +0200)
demos/forestpond/source/forestpond.cpp

index e480d209582d6568119e7362e16c94ca65305ed3..39f4ce6c2382e1e6b7af114557124e4bc9773be6 100644 (file)
@@ -15,7 +15,7 @@ ForestPond::ForestPond(int, char **):
        camera(resources.get<GL::Camera>("Camera.camera"))
 {
        window.set_title("Forest Pond");
-       window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &DesertPillars::exit), 0));
+       window.signal_close.connect(sigc::bind(sigc::mem_fun(this, &ForestPond::exit), 0));
 
        GL::SequenceBuilder seq_bld(resources.get<GL::SequenceTemplate>("Forest.seq"));
        seq_bld.set_debug_name("Main sequence");