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

Remove ConstPtr which represents unowned pointer #667

Merged
merged 3 commits into from Apr 11, 2021

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Apr 11, 2021

所有を明示するスマートポインターを導入したため非所有ポインターを表す型の使用を止めます。
コンテナに入れる子ウィジェットもConstPtrの意味合いが分かりにくいためraw pointerに変更します。

クラスのメンバーをスマートポインターに更新してポインターの所有をわかりやすくします。

ポインター型の整理で使わなくなったConstPtrを削除します。

所有を明示するスマートポインターを導入したため非所有ポインターを
表す型の使用を止めます。コンテナに入れる子ウィジェットもConstPtrの
意味合いが分かりにくいためraw pointerに変更します。
クラスのメンバーをスマートポインターに更新してポインターの所有を
わかりやすくします。
ポインター型の整理で使わなくなった`ConstPtr`を削除します。
@ma8ma ma8ma added the refactoring コードの整理 (バグ修正でも機能変更でもない) label Apr 11, 2021
@ma8ma ma8ma added this to In progress in State of JDim-v0.5.0+ via automation Apr 11, 2021
@ma8ma ma8ma changed the title Remove CconstPtr which represents unowned pointer Remove ConstPtr which represents unowned pointer Apr 11, 2021
@ma8ma ma8ma merged commit e8d4e24 into JDimproved:master Apr 11, 2021
State of JDim-v0.5.0+ automation moved this from In progress to Done Apr 11, 2021
@ma8ma ma8ma deleted the remove-constptr branch April 11, 2021 12:48
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