From 501f866bf59619dddf461818581805cfec4b6568 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 28 Jan 2017 16:24:43 -0500 Subject: [PATCH] astyle src/platforms/posix --- src/platforms/posix/drivers/gpssim/gpssim.cpp | 2 +- src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/posix/drivers/gpssim/gpssim.cpp b/src/platforms/posix/drivers/gpssim/gpssim.cpp index 034ced532f..b505c0d9b6 100644 --- a/src/platforms/posix/drivers/gpssim/gpssim.cpp +++ b/src/platforms/posix/drivers/gpssim/gpssim.cpp @@ -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)); } diff --git a/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp b/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp index b2fbe13c85..5a7c22d586 100644 --- a/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp +++ b/src/platforms/posix/tests/vcdev_test/vcdevtest_example.cpp @@ -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);