aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/liberio_zero_copy.hpp
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2019-01-18 09:45:34 -0800
committerBrent Stapleton <brent.stapleton@ettus.com>2019-01-18 17:51:35 -0800
commita53130679944ddd179593259eb953b89ab1a7a38 (patch)
tree5d8274750bed0b21aa133bc93d97d75bbce0ecd9 /host/lib/transport/liberio_zero_copy.hpp
parent2a44d6836ca08b6b67b83b63487b838e138ac379 (diff)
downloaduhd-a53130679944ddd179593259eb953b89ab1a7a38.tar.gz
uhd-a53130679944ddd179593259eb953b89ab1a7a38.tar.bz2
uhd-a53130679944ddd179593259eb953b89ab1a7a38.zip
lib: transport: apply clang-format
This is a continuation of 967be2a4. $ find host/lib/transport -iname *.hpp -o -iname *.cpp |\ xargs clang-format -i -style=file Skipping host/lib/transport/nirio/ because of build errors. $ git checkout host/lib/transport/nirio
Diffstat (limited to 'host/lib/transport/liberio_zero_copy.hpp')
-rw-r--r--host/lib/transport/liberio_zero_copy.hpp18
1 files changed, 8 insertions, 10 deletions
diff --git a/host/lib/transport/liberio_zero_copy.hpp b/host/lib/transport/liberio_zero_copy.hpp
index 1dfa3af71..b41b6416c 100644
--- a/host/lib/transport/liberio_zero_copy.hpp
+++ b/host/lib/transport/liberio_zero_copy.hpp
@@ -8,30 +8,28 @@
#ifndef LIBERIO_HPP
#define LIBERIO_HPP
-#include <string>
-#include <vector>
-
#include <uhd/config.hpp>
#include <uhd/transport/zero_copy.hpp>
#include <uhd/types/device_addr.hpp>
#include <boost/shared_ptr.hpp>
+#include <string>
+#include <vector>
namespace uhd { namespace transport {
/*!
* A zero copy transport interface to the liberio DMA library.
*/
-class liberio_zero_copy : public virtual zero_copy_if {
+class liberio_zero_copy : public virtual zero_copy_if
+{
public:
typedef boost::shared_ptr<liberio_zero_copy> sptr;
- static sptr make(
- const std::string &tx_path,
- const std::string &rx_path,
- const zero_copy_xport_params &default_buff_args
- );
+ static sptr make(const std::string& tx_path,
+ const std::string& rx_path,
+ const zero_copy_xport_params& default_buff_args);
};
-}}
+}} // namespace uhd::transport
#endif /* LIBERIO_HPP */