From b08d13aed2a7e7ffdee09833bb24db8ce92dce66 Mon Sep 17 00:00:00 2001 From: Marcus Müller <mmueller@gnuradio.org> Date: Sat, 17 Aug 2019 20:32:20 +0200 Subject: clang-tidy in gnuradio-runtime: use empty() instead of size()!=0 --- gr-digital/lib/pfb_clock_sync_fff_impl.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-digital/lib/pfb_clock_sync_fff_impl.cc') diff --git a/gr-digital/lib/pfb_clock_sync_fff_impl.cc b/gr-digital/lib/pfb_clock_sync_fff_impl.cc index dbfadf2ed7..75973b84a0 100644 --- a/gr-digital/lib/pfb_clock_sync_fff_impl.cc +++ b/gr-digital/lib/pfb_clock_sync_fff_impl.cc @@ -65,7 +65,7 @@ pfb_clock_sync_fff_impl::pfb_clock_sync_fff_impl(double sps, d_error(0), d_out_idx(0) { - if (taps.size() == 0) + if (taps.empty()) throw std::runtime_error("pfb_clock_sync_fff: please specify a filter.\n"); // Let scheduler adjust our relative_rate. -- cgit v1.2.3