diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2021-07-17 15:17:07 +0200 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-08-02 07:02:37 -0400 |
commit | 60580c0f485aa6790bc8d19c5d76bd3fc0e3d0cc (patch) | |
tree | 92a7f2f7c6fa55b2911ee314fdd4796e51d83545 /gr-iio/lib/pluto_source_impl.cc | |
parent | 001a949262436cc42d06976f6ba9b48ec8ad607d (diff) |
iio: Remove struct specifier (not necessary in C++, clutters a bit)
Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
Diffstat (limited to 'gr-iio/lib/pluto_source_impl.cc')
-rw-r--r-- | gr-iio/lib/pluto_source_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-iio/lib/pluto_source_impl.cc b/gr-iio/lib/pluto_source_impl.cc index 216cb65522..00e81273ae 100644 --- a/gr-iio/lib/pluto_source_impl.cc +++ b/gr-iio/lib/pluto_source_impl.cc @@ -27,11 +27,11 @@ pluto_source::sptr pluto_source::make(const std::string& uri, unsigned long buff std::string pluto_source_impl::get_uri() { - struct iio_scan_context* ctx = iio_create_scan_context("usb", 0); + iio_scan_context* ctx = iio_create_scan_context("usb", 0); if (!ctx) throw std::runtime_error("Unable to create scan context"); - struct iio_context_info** info; + iio_context_info** info; int ret = iio_scan_context_get_info_list(ctx, &info); if (ret < 0) { iio_scan_context_destroy(ctx); |