From f90d64eb7d90dc03fe4215bef8d77de51ca0ae78 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Fri, 11 May 2012 04:19:54 +0000
Subject: Lint.

git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4347 a436a847-0d15-0410-975c-d299462d15a1
---
 src/socket/Socket.cpp         | 6 +++---
 src/socket/Socket.hpp         | 2 +-
 src/socket/SocketListener.hpp | 2 +-
 src/socket/SocketReader.cpp   | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

(limited to 'src/socket')

diff --git a/src/socket/Socket.cpp b/src/socket/Socket.cpp
index 9c2a050c..97411b64 100644
--- a/src/socket/Socket.cpp
+++ b/src/socket/Socket.cpp
@@ -116,7 +116,7 @@ Socket::bind(const std::string& uri)
 	if (set_addr(uri) && ::bind(_sock, _addr, _addr_len) != -1) {
 		return true;
 	}
-	
+
 	LOG(Raul::error)(Raul::fmt("Failed to bind <%1%> (%2%)\n")
 	                 % _uri % strerror(errno));
 	return false;
@@ -128,7 +128,7 @@ Socket::connect(const std::string& uri)
 	if (set_addr(uri) && ::connect(_sock, _addr, _addr_len) != -1) {
 		return true;
 	}
-	
+
 	LOG(Raul::error)(Raul::fmt("Failed to connect <%1%> (%2%)\n")
 	                 % _uri % strerror(errno));
 	return false;
@@ -166,7 +166,7 @@ Socket::accept()
 	                host, sizeof(host), NULL, 0, 0)) {
 		client_uri = _uri.substr(0, _uri.find(":") + 1) + host;
 	}
-	
+
 	return SharedPtr<Socket>(
 		new Socket(_type, client_uri, client_addr, client_addr_len, conn));
 }
diff --git a/src/socket/Socket.hpp b/src/socket/Socket.hpp
index e4dbb60a..8aa172cb 100644
--- a/src/socket/Socket.hpp
+++ b/src/socket/Socket.hpp
@@ -46,7 +46,7 @@ public:
 	}
 
 	/** Create a new unbound/unconnected socket of a given type. */
-	Socket(Type t);
+	explicit Socket(Type t);
 
 	/** Wrap an existing open socket. */
 	Socket(Type               t,
diff --git a/src/socket/SocketListener.hpp b/src/socket/SocketListener.hpp
index ca05f325..e9c27d85 100644
--- a/src/socket/SocketListener.hpp
+++ b/src/socket/SocketListener.hpp
@@ -32,7 +32,7 @@ namespace Socket {
 class SocketListener : public Raul::Thread
 {
 public:
-	SocketListener(Ingen::Shared::World& world);
+	explicit SocketListener(Ingen::Shared::World& world);
 	~SocketListener();
 
 private:
diff --git a/src/socket/SocketReader.cpp b/src/socket/SocketReader.cpp
index bef14f92..80a9bd22 100644
--- a/src/socket/SocketReader.cpp
+++ b/src/socket/SocketReader.cpp
@@ -91,7 +91,7 @@ SocketReader::_run()
 {
 	Sord::World*  world = _world.rdf_world();
 	LV2_URID_Map* map   = &_world.uri_map().urid_map_feature()->urid_map;
-		
+
 	// Use <path:> as base URI so e.g. </foo/bar> will be a path
 	SordNode* base_uri = sord_new_uri(
 		world->c_obj(), (const uint8_t*)"path:");
@@ -130,7 +130,7 @@ SocketReader::_run()
 	}
 
 	serd_reader_start_stream(reader, f, (const uint8_t*)"(socket)", false);
-		
+
 	// Make an AtomReader to call Ingen Interface methods based on Atom
 	Shared::AtomReader ar(
 		_world.uri_map(), _world.uris(), _world.forge(), _iface);
-- 
cgit v1.2.1