1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Further qmake warning corrections.

This commit is contained in:
Thomas Harte
2020-05-30 19:31:17 -04:00
parent 5e0bea9d1c
commit 73131735fa
15 changed files with 29 additions and 22 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ std::vector<uint8_t> Reflection::Struct::serialise() const {
};
auto append = [push_name, this] (std::vector<uint8_t> &result, const std::string &key, const std::string &output_name, const std::type_info *type, size_t offset) {
auto push_int = [push_name, &result, &output_name] (auto x) {
auto push_int = [&result] (auto x) {
for(size_t c = 0; c < sizeof(x); ++c)
result.push_back(uint8_t((x) >> (8 * c)));
};