diff options
Diffstat (limited to 'gr-blocks/lib/and_const_impl.h')
-rw-r--r-- | gr-blocks/lib/and_const_impl.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gr-blocks/lib/and_const_impl.h b/gr-blocks/lib/and_const_impl.h index 3af7651e22..ee8af0c2fa 100644 --- a/gr-blocks/lib/and_const_impl.h +++ b/gr-blocks/lib/and_const_impl.h @@ -27,25 +27,25 @@ #include <gnuradio/blocks/and_const.h> namespace gr { - namespace blocks { +namespace blocks { -template<class T> - class BLOCKS_API and_const_impl : public and_const<T> - { - T d_k; +template <class T> +class BLOCKS_API and_const_impl : public and_const<T> +{ + T d_k; - public: - and_const_impl (T k); +public: + and_const_impl(T k); - T k() const { return d_k; } - void set_k(T k) { d_k = k; } + T k() const { return d_k; } + void set_k(T k) { d_k = k; } - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; - } /* namespace blocks */ +} /* namespace blocks */ } /* namespace gr */ #endif /* AND_CONST_IMPL_H */ |