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/annotator_1to1_impl.h | 47 +++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 25 deletions(-) (limited to 'gr-blocks/lib/annotator_1to1_impl.h') diff --git a/gr-blocks/lib/annotator_1to1_impl.h b/gr-blocks/lib/annotator_1to1_impl.h index 206366ca17..eca1c7c11e 100644 --- a/gr-blocks/lib/annotator_1to1_impl.h +++ b/gr-blocks/lib/annotator_1to1_impl.h @@ -21,35 +21,32 @@ */ #ifndef INCLUDED_GR_ANNOTATOR_1TO1_IMPL_H -#define INCLUDED_GR_ANNOTATOR_1TO1_IMPL_H +#define INCLUDED_GR_ANNOTATOR_1TO1_IMPL_H #include <gnuradio/blocks/annotator_1to1.h> namespace gr { - namespace blocks { - - class annotator_1to1_impl : public annotator_1to1 - { - private: - uint64_t d_when; - uint64_t d_tag_counter; - std::vector<tag_t> d_stored_tags; - - public: - annotator_1to1_impl(int when, size_t sizeof_stream_item); - ~annotator_1to1_impl(); - - std::vector<tag_t> data() const - { - return d_stored_tags; - } - - int work(int noutput_items, - gr_vector_const_void_star &input_items, - gr_vector_void_star &output_items); - }; - - } /* namespace blocks */ +namespace blocks { + +class annotator_1to1_impl : public annotator_1to1 +{ +private: + uint64_t d_when; + uint64_t d_tag_counter; + std::vector<tag_t> d_stored_tags; + +public: + annotator_1to1_impl(int when, size_t sizeof_stream_item); + ~annotator_1to1_impl(); + + std::vector<tag_t> data() const { return d_stored_tags; } + + int work(int noutput_items, + gr_vector_const_void_star& input_items, + gr_vector_void_star& output_items); +}; + +} /* namespace blocks */ } /* namespace gr */ #endif /* INCLUDED_GR_ANNOTATOR_1TO1_IMPL_H */ -- cgit v1.2.3