summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Slimber/MainController.cpp')
-rw-r--r--Slimber/MainController.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Slimber/MainController.cpp b/Slimber/MainController.cpp
index cd36132..93eb4e7 100644
--- a/Slimber/MainController.cpp
+++ b/Slimber/MainController.cpp
@@ -104,3 +104,3 @@ void MainController::handleServerStopped(boost::optional<ServerError> error) {
case ServerError::C2SPortConflict:
- message = std::string("Error: Port ") + boost::lexical_cast<std::string>(server->getClientToServerPort()) + std::string(" in use");
+ message = std::string("Error: Port ") + std::to_string(server->getClientToServerPort()) + std::string(" in use");
break;
@@ -110,3 +110,3 @@ void MainController::handleServerStopped(boost::optional<ServerError> error) {
case ServerError::LinkLocalPortConflict:
- message = std::string("Error: Port ") + boost::lexical_cast<std::string>(server->getLinkLocalPort()) + std::string(" in use");
+ message = std::string("Error: Port ") + std::to_string(server->getLinkLocalPort()) + std::string(" in use");
break;