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/vector_source_impl.h | 60 +++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'gr-blocks/lib/vector_source_impl.h') diff --git a/gr-blocks/lib/vector_source_impl.h b/gr-blocks/lib/vector_source_impl.h index 19966d01e8..eaa8a0b6b0 100644 --- a/gr-blocks/lib/vector_source_impl.h +++ b/gr-blocks/lib/vector_source_impl.h @@ -27,36 +27,36 @@ #include <gnuradio/blocks/vector_source.h> namespace gr { - namespace blocks { - -template<class T> - class vector_source_impl : public vector_source<T> - { - private: - std::vector<T> d_data; - bool d_repeat; - unsigned int d_offset; - unsigned int d_vlen; - bool d_settags; - std::vector<tag_t> d_tags; - - public: - vector_source_impl (const std::vector<T> &data, - bool repeat, unsigned int vlen, - const std::vector<tag_t> &tags); - ~vector_source_impl (); - - void rewind() { d_offset=0; } - void set_data(const std::vector<T> &data, - const std::vector<tag_t> &tags); - void set_repeat(bool repeat) { d_repeat=repeat; }; - - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; - - } /* namespace blocks */ +namespace blocks { + +template <class T> +class vector_source_impl : public vector_source<T> +{ +private: + std::vector<T> d_data; + bool d_repeat; + unsigned int d_offset; + unsigned int d_vlen; + bool d_settags; + std::vector<tag_t> d_tags; + +public: + vector_source_impl(const std::vector<T>& data, + bool repeat, + unsigned int vlen, + const std::vector<tag_t>& tags); + ~vector_source_impl(); + + void rewind() { d_offset = 0; } + void set_data(const std::vector<T>& data, const std::vector<tag_t>& tags); + void set_repeat(bool repeat) { d_repeat = repeat; }; + + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; + +} /* namespace blocks */ } /* namespace gr */ #endif /* VECTOR_SOURCE_IMPL_H */ -- cgit v1.2.3