Formatted BaseResource.cpp