From 6d332e5ca4a7311406ac285f827c31c9e5b94280 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 23 Mar 2017 15:40:28 -0700 Subject: mpm: move public includes into include/ --- mpm/lib/lmk04828/lmk04828_spi_iface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mpm/lib/lmk04828') diff --git a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp index 2e3b43a3c..d0ae26063 100644 --- a/mpm/lib/lmk04828/lmk04828_spi_iface.cpp +++ b/mpm/lib/lmk04828/lmk04828_spi_iface.cpp @@ -1,7 +1,7 @@ -#include "lmk/lmk04828_spi_iface.hpp" -#include "uhd/exception.hpp" -#include +#include +#include #include +#include lmk04828_spi_iface::lmk04828_spi_iface(uhd::spi_iface::sptr iface) : _spi_iface(iface) { @@ -11,12 +11,12 @@ lmk04828_spi_iface::lmk04828_spi_iface(uhd::spi_iface::sptr iface) : _spi_iface( lmk04828_iface::write_fn_t lmk04828_spi_iface::get_write_fn() { - return boost::bind(&lmk04828_spi_iface::spi_write, this, _1); + return std::bind(&lmk04828_spi_iface::spi_write, this, std::placeholders::_1); } lmk04828_iface::read_fn_t lmk04828_spi_iface::get_read_fn() { - return boost::bind(&lmk04828_spi_iface::spi_read, this, _1); + return std::bind(&lmk04828_spi_iface::spi_read, this, std::placeholders::_1); } void lmk04828_spi_iface::spi_write(std::vector writes) { -- cgit v1.2.3