Skip to content

Commit

Permalink
Fixed warnings (hyperledger-iroha#1459)
Browse files Browse the repository at this point in the history
Signed-off-by: Akvinikym <[email protected]>
Clang warnings about incorrect order of fields initialisation are fixed
  • Loading branch information
Akvinikym authored Jun 15, 2018
1 parent 5d5e8bc commit f5f7a8c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ namespace shared_model {
TransactionsResponse::TransactionsResponse(
QueryResponseType &&queryResponse)
: CopyableProto(std::forward<QueryResponseType>(queryResponse)),
transactionResponse_{proto_->transactions_response()},
transactions_{[this] {
return std::vector<proto::Transaction>(
transactionResponse_.transactions().begin(),
transactionResponse_.transactions().end());
}},
transactionResponse_{proto_->transactions_response()} {}
}} {}

template TransactionsResponse::TransactionsResponse(
TransactionsResponse::TransportType &);
Expand Down

0 comments on commit f5f7a8c

Please sign in to comment.