astyle src/platforms/posix

This commit is contained in:
Daniel Agar 2017-01-28 16:24:43 -05:00 committed by Lorenz Meier
parent ca60d2d15f
commit 501f866bf5
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ GPSSIM::GPSSIM(const char *uart_path, bool fake_gps, bool enable_sat_info) :
/* create satellite info data object if requested */
if (enable_sat_info) {
_Sat_Info = new(GPS_Sat_Info);
_Sat_Info = new (GPS_Sat_Info);
_p_report_sat_info = &_Sat_Info->_data;
memset(_p_report_sat_info, 0, sizeof(*_p_report_sat_info));
}

View File

@ -144,7 +144,7 @@ int VCDevNode::open(device::file_t *handlep)
int VCDevNode::close(device::file_t *handlep)
{
delete(PrivData *)handlep->priv;
delete (PrivData *)handlep->priv;
handlep->priv = nullptr;
VDev::close(handlep);