Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace lambda with sigc::mem_fun() for signal connection #903

Merged
merged 1 commit into from Jan 23, 2022

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Jan 23, 2022

sigc::mem_fun()を使ってメンバー関数をシグナルに接続するように変更します。
sigc::trackableを継承したオブジェクトが破棄されるとき接続が解除されます。

https://developer-old.gnome.org/libsigc++/2.10/group__mem__fun.html#details

`sigc::mem_fun()`を使ってメンバー関数をシグナルに接続するように変更します。
`sigc::trackable`を継承したオブジェクトが破棄されるとき接続が解除されます。

https://developer-old.gnome.org/libsigc++/2.10/group__mem__fun.html#details
@ma8ma ma8ma added the refactoring コードの整理 (バグ修正でも機能変更でもない) label Jan 23, 2022
@ma8ma ma8ma merged commit 2f8ddaa into JDimproved:master Jan 23, 2022
@ma8ma ma8ma deleted the replace-lambda-with-sigc-mem_fun branch January 23, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring コードの整理 (バグ修正でも機能変更でもない)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant