We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb7ed9e commit f5f5c3bCopy full SHA for f5f5c3b
CMakeLists.txt
@@ -62,6 +62,7 @@ if(WEVERYTHING)
62
-Wno-double-promotion
63
-Wno-float-equal
64
-Wno-padded
65
+ -Wno-return-std-move-in-c++11
66
-Wno-switch-enum
67
)
68
endif()
lib/fizzy/parser.cpp
@@ -658,7 +658,7 @@ std::unique_ptr<const Module> parse(bytes_view input)
658
module->codesec.emplace_back(
659
parse_code(code_binaries[i], static_cast<FuncIdx>(i), *module));
660
661
- return std::unique_ptr<const Module>(module.release());
+ return module;
662
}
663
664
parser_result<std::vector<uint32_t>> parse_vec_i32(const uint8_t* pos, const uint8_t* end)
0 commit comments