summaryrefslogtreecommitdiffstats
path: root/include/raul/Socket.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-12 01:43:47 +0100
committerDavid Robillard <d@drobilla.net>2020-11-12 01:47:44 +0100
commit0495c381d065713852ee9e61df544ba531223824 (patch)
tree636027d82ab20f9948d75b92b2e63711159cb875 /include/raul/Socket.hpp
parentf8d95542492a8a960853c0cb0b855d2473c941a0 (diff)
downloadraul-0495c381d065713852ee9e61df544ba531223824.tar.gz
raul-0495c381d065713852ee9e61df544ba531223824.tar.bz2
raul-0495c381d065713852ee9e61df544ba531223824.zip
Use separate clang-tidy configurations for headers and tests
Diffstat (limited to 'include/raul/Socket.hpp')
-rw-r--r--include/raul/Socket.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/raul/Socket.hpp b/include/raul/Socket.hpp
index ed5204f..96ce597 100644
--- a/include/raul/Socket.hpp
+++ b/include/raul/Socket.hpp
@@ -203,7 +203,7 @@ Socket::connect(const std::string& uri)
}
inline bool
-Socket::listen()
+Socket::listen() // NOLINT(readability-make-member-function-const)
{
return ::listen(_sock, 64) != -1;
}
@@ -246,7 +246,7 @@ Socket::close()
}
inline void
-Socket::shutdown()
+Socket::shutdown() // NOLINT(readability-make-member-function-const)
{
if (_sock != -1) {
::shutdown(_sock, SHUT_RDWR);