From 7bb54901c9b557aaae2c4c5f9ea95af162caaf18 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 23 Jul 2016 13:17:23 +0200 Subject: Fix const declarations Signed-off-by: Szczepan Zalega --- include/device.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/device.h b/include/device.h index dc7832d..2b51812 100644 --- a/include/device.h +++ b/include/device.h @@ -39,10 +39,8 @@ class Device { */ virtual CommError recv(void *packet); - int get_retry_count() { return m_retry_count; } - const; - std::chrono::milliseconds get_retry_timeout() { return m_retry_timeout; } - const; + int get_retry_count() const { return m_retry_count; }; + std::chrono::milliseconds get_retry_timeout() const { return m_retry_timeout; }; protected: uint16_t m_vid; -- cgit v1.2.3