Showing the changes to src/include (1 of 3 files). Show all
Unified · Split
| @@ -57,7 +57,7 @@ namespace disvm · 56 unmodified lines | ||
| 57 | 57 | template<typename CB> |
| 58 | 58 | void enum_pointer_fields(const type_descriptor_t &type_desc, void *data, CB callback) |
| 59 | 59 | { |
| 60 | − assert(data != nullptr && callback != nullptr); | |
| 60 | + assert(data != nullptr); | |
| 61 | 61 | |
| 62 | 62 | auto memory = reinterpret_cast<word_t *>(data); |
| 63 | 63 | for (auto i = word_t{ 0 }; i < type_desc.map_in_bytes; ++i, memory += 8) |