Showing the changes to src/vm/builtin_module.cpp (1 of 11 files). Show all
Unified · Split
| @@ -61,7 +61,7 @@ void disvm::runtime::builtin::register_module_exports(const char *name, word_t t · 60 unmodified lines | ||
| 61 | 61 | header.entry_pc = runtime_constants::invalid_program_counter; |
| 62 | 62 | header.entry_type = -1; |
| 63 | 63 | |
| 64 | − new_builtin->module_name = std::make_unique<vm_string_t>(::strlen(name), reinterpret_cast<const uint8_t *>(name)); | |
| 64 | + new_builtin->module_name = std::make_unique<vm_string_t>(std::strlen(name), reinterpret_cast<const uint8_t *>(name)); | |
| 65 | 65 | |
| 66 | 66 | // Fill out code, type, and export sections |
| 67 | 67 | for (auto i = word_t{ 0 }; i < table_length; ++i) |