From: 이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 Date: Thu, 2 Jan 2020 04:37:32 +0000 (+0900) Subject: Fix wrong init order in constructor of conv_sgemm_multithreads (#9775) X-Git-Tag: submit/tizen/20200106.071119~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d53a58e76ffb12a1527b0ad7741271b6e53d8d9d;p=platform%2Fcore%2Fml%2Fnnfw.git Fix wrong init order in constructor of conv_sgemm_multithreads (#9775) It fixes warning of wrong order member initialization. Signed-off-by: Sanggyu Lee --- diff --git a/compute/ncnn/src/srcn/conv_sgemm_multithreads.cc b/compute/ncnn/src/srcn/conv_sgemm_multithreads.cc index 9946b6f..21083f6 100644 --- a/compute/ncnn/src/srcn/conv_sgemm_multithreads.cc +++ b/compute/ncnn/src/srcn/conv_sgemm_multithreads.cc @@ -147,7 +147,7 @@ conv_sgemm_multithreads::conv_sgemm_multithreads(const convMat_t &in_mat, convType_t conv_type) : in_mat_(in_mat), weights_mat_(weights_mat), out_mat_(out_mat), in_param_(in_param), - num_threads_(num_threads), conv_type_(conv_type) + conv_type_(conv_type), num_threads_(num_threads) { m_ = out_mat_.c; #ifdef NCNN