diff options
-rw-r--r-- | examples/thread/dispatcher.cc | 2 | ||||
-rw-r--r-- | examples/thread/threadpool.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/thread/dispatcher.cc b/examples/thread/dispatcher.cc index 9f0f56e3..ae9e084a 100644 --- a/examples/thread/dispatcher.cc +++ b/examples/thread/dispatcher.cc @@ -161,7 +161,7 @@ Application::Application() : main_loop_(Glib::MainLoop::create()), progress_thre progress_threads_[i] = progress; progress->signal_finished().connect( - sigc::bind<1>(sigc::mem_fun(*this, &Application::on_progress_finished), progress)); + sigc::bind(sigc::mem_fun(*this, &Application::on_progress_finished), progress)); } } catch (...) diff --git a/examples/thread/threadpool.cc b/examples/thread/threadpool.cc index 891c565d..885962bc 100644 --- a/examples/thread/threadpool.cc +++ b/examples/thread/threadpool.cc @@ -56,7 +56,7 @@ main(int, char**) for (auto c = 'a'; c <= 'z'; ++c) { - pool.push(sigc::bind<1>(sigc::ptr_fun(&print_char), c)); + pool.push(sigc::bind(sigc::ptr_fun(&print_char), c)); } pool.shutdown(); |