From f7bbf2c1d8d780294f3e016aff239ca35eb6516e Mon Sep 17 00:00:00 2001
From: Marcus Müller <mmueller@gnuradio.org>
Date: Wed, 7 Aug 2019 21:45:12 +0200
Subject: Tree: clang-format without the include sorting

---
 gr-blocks/lib/complex_to_real_impl.cc | 66 +++++++++++++++++------------------
 1 file changed, 32 insertions(+), 34 deletions(-)

(limited to 'gr-blocks/lib/complex_to_real_impl.cc')

diff --git a/gr-blocks/lib/complex_to_real_impl.cc b/gr-blocks/lib/complex_to_real_impl.cc
index bab139e79c..ab4119969f 100644
--- a/gr-blocks/lib/complex_to_real_impl.cc
+++ b/gr-blocks/lib/complex_to_real_impl.cc
@@ -29,37 +29,35 @@
 #include <volk/volk.h>
 
 namespace gr {
-  namespace blocks {
-
-    complex_to_real::sptr complex_to_real::make(size_t vlen)
-    {
-      return gnuradio::get_initial_sptr(new complex_to_real_impl(vlen));
-    }
-
-    complex_to_real_impl::complex_to_real_impl(size_t vlen)
-      : sync_block("complex_to_real",
-		      io_signature::make (1, 1, sizeof(gr_complex)*vlen),
-		      io_signature::make (1, 1, sizeof(float)*vlen)),
-	d_vlen(vlen)
-    {
-      const int alignment_multiple =
-	volk_get_alignment() / sizeof(float);
-      set_alignment(std::max(1,alignment_multiple));
-    }
-
-    int
-    complex_to_real_impl::work(int noutput_items,
-			       gr_vector_const_void_star &input_items,
-			       gr_vector_void_star &output_items)
-    {
-      const gr_complex *in = (const gr_complex *) input_items[0];
-      float *out = (float *) output_items[0];
-      int noi = noutput_items * d_vlen;
-
-      volk_32fc_deinterleave_real_32f(out, in, noi);
-
-      return noutput_items;
-    }
-
-  } /* namespace blocks */
-}/* namespace gr */
+namespace blocks {
+
+complex_to_real::sptr complex_to_real::make(size_t vlen)
+{
+    return gnuradio::get_initial_sptr(new complex_to_real_impl(vlen));
+}
+
+complex_to_real_impl::complex_to_real_impl(size_t vlen)
+    : sync_block("complex_to_real",
+                 io_signature::make(1, 1, sizeof(gr_complex) * vlen),
+                 io_signature::make(1, 1, sizeof(float) * vlen)),
+      d_vlen(vlen)
+{
+    const int alignment_multiple = volk_get_alignment() / sizeof(float);
+    set_alignment(std::max(1, alignment_multiple));
+}
+
+int complex_to_real_impl::work(int noutput_items,
+                               gr_vector_const_void_star& input_items,
+                               gr_vector_void_star& output_items)
+{
+    const gr_complex* in = (const gr_complex*)input_items[0];
+    float* out = (float*)output_items[0];
+    int noi = noutput_items * d_vlen;
+
+    volk_32fc_deinterleave_real_32f(out, in, noi);
+
+    return noutput_items;
+}
+
+} /* namespace blocks */
+} /* namespace gr */
-- 
cgit v1.2.3