summaryrefslogtreecommitdiffstats
path: root/raul
diff options
context:
space:
mode:
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; }