diff options
Diffstat (limited to 'gnuradio-runtime/lib/block_detail.cc')
-rw-r--r-- | gnuradio-runtime/lib/block_detail.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnuradio-runtime/lib/block_detail.cc b/gnuradio-runtime/lib/block_detail.cc index fb90995343..78b3dff20e 100644 --- a/gnuradio-runtime/lib/block_detail.cc +++ b/gnuradio-runtime/lib/block_detail.cc @@ -231,9 +231,8 @@ void block_detail::set_processor_affinity(const std::vector<int>& mask) if (threaded) { try { gr::thread::thread_bind_to_processor(thread, mask); - } catch (std::runtime_error e) { + } catch (std::runtime_error& e) { std::cerr << "set_processor_affinity: invalid mask." << std::endl; - ; } } } |