Skip to content

Conversation

@tanakat01
Copy link

remove a pair of parentheses from a member initialization. In the C++11 specification, extra parentheses indicate the value-initialization instead of the list-initialization, if the GNU extension [-Wgnu-array-member-paren-init] is not specified.

constructor の中のメンバー初期化で,リストで初期化する際に余計な括弧が含まれていました.これは,gcc のextension では許容されますが,llvmベースのmacのC++コンパイラではエラーになります.余計な括弧を取り除くことを求めるPRです.

…11 specification, extra parentheses indicate the value-initialization instead of the list-initialization, if the GNU extension [-Wgnu-array-member-paren-init] is not specified
@arukuka
Copy link
Member

arukuka commented Oct 22, 2017

こちら #6 でmergeしています。

@arukuka arukuka merged commit 3d3f931 into SamurAI-Coding:master Nov 3, 2017
arukuka pushed a commit that referenced this pull request Jan 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants