Merge pull request #2382 from stsrc/development

Remove trailing whitespaces from simObject.cpp and fix pointer format
This commit is contained in:
Areloch 2020-04-18 01:14:35 -05:00 committed by GitHub
commit a654a4928f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3178,7 +3178,7 @@ DefineEngineMethod( SimObject, getDebugInfo, ArrayObject*, (),,
ArrayObject* array = new ArrayObject(); ArrayObject* array = new ArrayObject();
array->registerObject(); array->registerObject();
array->push_back( "C++|Address", String::ToString( "0x%x", object ) ); array->push_back( "C++|Address", String::ToString( "%p", object ) );
array->push_back( "C++|Size", String::ToString( object->getClassRep()->getSizeof() ) ); array->push_back( "C++|Size", String::ToString( object->getClassRep()->getSizeof() ) );
array->push_back( "Object|Description", object->describeSelf() ); array->push_back( "Object|Description", object->describeSelf() );
array->push_back( "Object|FileName", object->getFilename() ); array->push_back( "Object|FileName", object->getFilename() );