aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <0xdec05eba@gmail.com>2018-10-21 14:30:44 +0200
committerdec05eba <0xdec05eba@gmail.com>2018-10-21 14:30:44 +0200
commit4fffc1cd8ccf1c3b1f15b2cb1942daf8cdd556ab (patch)
tree15076853892f8bdc07efedde22cfb4479e253a07 /src
parent1e1e4e0bbb9734e902e51339ebb8c274c2082e08 (diff)
rename create -> connect
Diffstat (limited to 'src')
-rw-r--r--src/BootstrapConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BootstrapConnection.cpp b/src/BootstrapConnection.cpp
index c70fbc9..d7cee09 100644
--- a/src/BootstrapConnection.cpp
+++ b/src/BootstrapConnection.cpp
@@ -54,7 +54,7 @@ namespace sibs
}
}
- std::future<std::unique_ptr<BootstrapConnection>> BootstrapConnection::create(const Ipv4 &bootstrapAddress)
+ std::future<std::unique_ptr<BootstrapConnection>> BootstrapConnection::connect(const Ipv4 &bootstrapAddress)
{
std::promise<std::unique_ptr<BootstrapConnection>> connectionPromise;
std::future<std::unique_ptr<BootstrapConnection>> connectionFuture = connectionPromise.get_future();