mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 00:20:42 -07:00
readline_buffer: add a couple const
This commit is contained in:
@@ -62,7 +62,7 @@ void rdln::readline_buffer::stop()
|
||||
remove_line_handler();
|
||||
}
|
||||
|
||||
void rdln::readline_buffer::get_line(std::string& line)
|
||||
void rdln::readline_buffer::get_line(std::string& line) const
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(line_mutex);
|
||||
have_line.wait(lock);
|
||||
|
||||
Reference in New Issue
Block a user