mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
parent
2deb7cd180
commit
433ae34e55
@ -92,7 +92,7 @@ void Trick::MemoryManager::clear_rvalue( void* base_address, ATTRIBUTES* attr, i
|
||||
*(void**)final_address = (void*)NULL;
|
||||
break;
|
||||
case TRICK_STRING :
|
||||
final_address = (char*)base_address + offset * sizeof(void*);
|
||||
final_address = (char*)base_address + offset * sizeof(std::string);
|
||||
*(std::string*)final_address = "";
|
||||
break;
|
||||
case TRICK_STL :
|
||||
|
Loading…
Reference in New Issue
Block a user