[pan: 7/15] Apparently ubuntu compiler is pickier




commit 4db3985c540f9f46502d3c0248afa61d563759f1
Author: Thomas Tanner <thosrtanner googlemail com>
Date:   Thu Jun 2 07:57:24 2022 +0100

    Apparently ubuntu compiler is pickier

 pan/gui/gui.cc     | 2 +-
 pan/gui/post-ui.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pan/gui/gui.cc b/pan/gui/gui.cc
index c4471ae..aad9870 100644
--- a/pan/gui/gui.cc
+++ b/pan/gui/gui.cc
@@ -2403,7 +2403,7 @@ GUI :: do_edit_scores (GtkAction *a)
 
   using namespace std::placeholders;
   spawner = new EditorSpawner(filename,
-                              std::bind(edit_scores_cleanup, this, _1, _2),
+                                std::bind(&GUI::edit_scores_cleanup, this, _1, _2),
                               _prefs);
 }
 
diff --git a/pan/gui/post-ui.cc b/pan/gui/post-ui.cc
index 6e9eb5a..c9dc4f4 100644
--- a/pan/gui/post-ui.cc
+++ b/pan/gui/post-ui.cc
@@ -1376,7 +1376,7 @@ PostUI :: spawn_editor ()
     using namespace std::placeholders;
     _spawner.reset(
       new EditorSpawner(fname,
-                        std::bind(&spawn_editor_dead, this, _1, _2),
+                        std::bind(&PostUI::spawn_editor_dead, this, _1, _2),
                         _prefs));
     d.retain();
     gtk_action_set_sensitive(_spawner_action, false);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]