summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-18 10:36:51 +0200
committerDavid Robillard <d@drobilla.net>2020-07-18 10:37:57 +0200
commita474f0f93241672f804f88bdf934ab85e79f20c5 (patch)
treee157d8637d914cf3391a1af18a6b4f6793ee9c7d /raul
parent3e0503d54d22daec52478185b24fd8fc398e69c3 (diff)
downloadraul-a474f0f93241672f804f88bdf934ab85e79f20c5.tar.gz
raul-a474f0f93241672f804f88bdf934ab85e79f20c5.tar.bz2
raul-a474f0f93241672f804f88bdf934ab85e79f20c5.zip
Add missing consts
Diffstat (limited to 'raul')
-rw-r--r--raul/Socket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/raul/Socket.hpp b/raul/Socket.hpp
index 307aab7..df7645a 100644
--- a/raul/Socket.hpp
+++ b/raul/Socket.hpp
@@ -82,7 +82,7 @@ public:
std::shared_ptr<Socket> accept();
/** Return the file descriptor for the socket. */
- int fd() { return _sock; }
+ int fd() const { return _sock; }
const std::string& uri() const { return _uri; }