Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.16.0
Description
The compiler warnings: of old-style cast
/root/swc-db/src/cc/include/swcdb/thrift/gen-cpp/Service_types.h: In constructor ‘SWC::Thrift::FU_LI::FU_LI()’: /root/swc-db/src/cc/include/swcdb/thrift/gen-cpp/Service_types.h:3397:32: warning: use of old-style cast to ‘enum SWC::Thrift::FU_LIST_OP::type’ [-Wold-style-cast] 3397 | op((FU_LIST_OP::type)0), | ^ | - | static_cast< -- | > (0)
The redundant copy at constructor
FU_LB() noexcept : ctrl(0), op((FU_LIST_OP::type)0), pos(0) { op = (FU_LIST_OP::type)0; } virtual ~FU_LB() noexcept;
Attachments
Issue Links
- links to