aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-06-24 12:48:13 +0200
committerRiccardo Spagni <ric@spagni.net>2017-06-24 12:48:13 +0200
commita0b494aa71355ce4237764297f715fc0b19a5dac (patch)
tree1d013c023ccfc626c2f4b0a9411529a01684366f /contrib/epee/include
parentMerge pull request #2095 (diff)
parentreadline: fix invalid memory access (diff)
downloadmonero-a0b494aa71355ce4237764297f715fc0b19a5dac.tar.xz
Merge pull request #2103
21b939e1 readline: fix invalid memory access (moneromooo-monero) 5f8f2905 readline_buffer: add a couple const (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include')
-rw-r--r--contrib/epee/include/readline_buffer.h4
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: