diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-21 17:33:30 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-06-21 17:33:30 +0100 |
commit | 5f8f290505dae6246bd6dd8da5e9bf9e77d8ad89 (patch) | |
tree | aae1138b869f3f5bc8be03f7ce982c176d27ff1d /contrib/epee/include/readline_buffer.h | |
parent | Merge pull request #2087 (diff) | |
download | monero-5f8f290505dae6246bd6dd8da5e9bf9e77d8ad89.tar.xz |
readline_buffer: add a couple const
Diffstat (limited to 'contrib/epee/include/readline_buffer.h')
-rw-r--r-- | contrib/epee/include/readline_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/readline_buffer.h b/contrib/epee/include/readline_buffer.h index 7d929bc4c..916d14f01 100644 --- a/contrib/epee/include/readline_buffer.h +++ b/contrib/epee/include/readline_buffer.h @@ -13,11 +13,11 @@ namespace rdln void start(); void stop(); int process(); - bool is_running() + bool is_running() const { return m_cout_buf != NULL; } - void get_line(std::string& line); + void get_line(std::string& line) const; void set_prompt(const std::string& prompt); protected: |