aboutsummaryrefslogtreecommitdiff
path: root/source/Core/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/Connection.cpp')
-rw-r--r--source/Core/Connection.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/source/Core/Connection.cpp b/source/Core/Connection.cpp
index 3f740a1ed82a..1ae046b8a018 100644
--- a/source/Core/Connection.cpp
+++ b/source/Core/Connection.cpp
@@ -21,20 +21,14 @@
using namespace lldb_private;
-Connection::Connection ()
-{
-}
+Connection::Connection() {}
-Connection::~Connection ()
-{
-}
+Connection::~Connection() {}
-Connection *
-Connection::CreateDefaultConnection(const char *url)
-{
+Connection *Connection::CreateDefaultConnection(const char *url) {
#if defined(_WIN32)
- if (strstr(url, "file://") == url)
- return new ConnectionGenericFile();
+ if (strstr(url, "file://") == url)
+ return new ConnectionGenericFile();
#endif
- return new ConnectionFileDescriptor();
+ return new ConnectionFileDescriptor();
}