summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/block.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gnuradio-runtime/lib/block.cc')
-rw-r--r--gnuradio-runtime/lib/block.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc
index d4a1e1c6c1..8965a9eaea 100644
--- a/gnuradio-runtime/lib/block.cc
+++ b/gnuradio-runtime/lib/block.cc
@@ -762,7 +762,7 @@ void block::system_handler(pmt::pmt_t msg)
}
}
-void block::set_log_level(std::string level) { d_logger->set_level(level); }
+void block::set_log_level(const std::string& level) { d_logger->set_level(level); }
std::string block::log_level()
{