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

Use override keyword #22

Merged
merged 2 commits into from Dec 29, 2018
Merged

Conversation

ma8ma
Copy link
Collaborator

@ma8ma ma8ma commented Dec 29, 2018

overrideキーワードを使ってオーバーライドされた仮想関数をマークしvirtualを外します。これにより仮想関数の作成virtualとオーバーライドoverrideを区別することができます。
修正した行数が多いので後続の修正(-Wextraとgtk3サポート)は様子を見て提出します。

仮想関数にはvirtual, override, finalのうち適切な一つを指定する。
例外を投げないデストラクタにnoexceptを指定する。
@yama-natuki yama-natuki merged commit 3608961 into JDimproved:test Dec 29, 2018
@yama-natuki
Copy link
Collaborator

ありがとうございます

@ma8ma ma8ma deleted the use-override-keyword branch December 29, 2018 06:23
@ma8ma ma8ma mentioned this pull request Dec 29, 2018
6 tasks
ma8ma added a commit to ma8ma/JDim that referenced this pull request Jan 24, 2019
testブランチの更新をgtk3-previewに反映する
* JDimproved#22
* JDimproved#23
* JDimproved#24

Closes #20
@ma8ma ma8ma added the feature 機能の追加と削除 label Feb 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 機能の追加と削除
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants