From a474f0f93241672f804f88bdf934ab85e79f20c5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 18 Jul 2020 10:36:51 +0200 Subject: Add missing consts --- raul/Socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raul') 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 accept(); /** Return the file descriptor for the socket. */ - int fd() { return _sock; } + int fd() const { return _sock; } const std::string& uri() const { return _uri; } -- cgit v1.2.1