add sto_erase tests

This commit is contained in:
tequ
2025-12-02 22:10:32 +09:00
parent a875fd36b3
commit 59e5650521
2 changed files with 79 additions and 13 deletions

View File

@@ -547,7 +547,7 @@ HookAPI::sto_emplace(
// we must inject the field at the canonical location....
// so find that location
unsigned char* start = const_cast<unsigned char*>(source_object.data());
unsigned char* start = (unsigned char*)(source_object.data());
unsigned char* upto = start;
unsigned char* end = start + source_object.size();
unsigned char* inject_start = end;