aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-06-21 17:33:30 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-06-21 17:33:30 +0100
commit5f8f290505dae6246bd6dd8da5e9bf9e77d8ad89 (patch)
treeaae1138b869f3f5bc8be03f7ce982c176d27ff1d /contrib/epee/src
parentMerge pull request #2087 (diff)
downloadmonero-5f8f290505dae6246bd6dd8da5e9bf9e77d8ad89.tar.xz
readline_buffer: add a couple const
Diffstat (limited to 'contrib/epee/src')
-rw-r--r--contrib/epee/src/readline_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/src/readline_buffer.cpp b/contrib/epee/src/readline_buffer.cpp
index 68b739db9..9195937af 100644
--- a/contrib/epee/src/readline_buffer.cpp
+++ b/contrib/epee/src/readline_buffer.cpp
@@ -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);