From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: uhd: Apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. --- host/lib/usrp/subdev_spec_python.hpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'host/lib/usrp/subdev_spec_python.hpp') diff --git a/host/lib/usrp/subdev_spec_python.hpp b/host/lib/usrp/subdev_spec_python.hpp index 61a517a6f..ddcb86da2 100644 --- a/host/lib/usrp/subdev_spec_python.hpp +++ b/host/lib/usrp/subdev_spec_python.hpp @@ -15,20 +15,18 @@ void export_subdev_spec(py::module& m) using subdev_spec_pair_t = uhd::usrp::subdev_spec_pair_t; using subdev_spec_t = uhd::usrp::subdev_spec_t; - py::class_ (m, "subdev_spec_pair") - .def(py::init()) + py::class_(m, "subdev_spec_pair") + .def(py::init()) // Properties .def_readwrite("db_name", &subdev_spec_pair_t::db_name) - .def_readwrite("sd_name", &subdev_spec_pair_t::sd_name) - ; + .def_readwrite("sd_name", &subdev_spec_pair_t::sd_name); py::class_(m, "subdev_spec") - .def(py::init()) + .def(py::init()) // Methods - .def("__str__", &subdev_spec_t::to_pp_string) - .def("to_string", &subdev_spec_t::to_string) - ; + .def("__str__", &subdev_spec_t::to_pp_string) + .def("to_string", &subdev_spec_t::to_string); } #endif /* INCLUDED_UHD_USRP_SUBDEV_SPEC_PYTHON_HPP */ -- cgit v1.2.3