summaryrefslogtreecommitdiffstats
path: root/remoting/host/setup/start_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/setup/start_host.cc')
-rw-r--r--remoting/host/setup/start_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/host/setup/start_host.cc b/remoting/host/setup/start_host.cc
index 4d8ba75..256fb3c 100644
--- a/remoting/host/setup/start_host.cc
+++ b/remoting/host/setup/start_host.cc
@@ -53,7 +53,7 @@ std::string ReadString(bool no_echo) {
SetEcho(true);
}
if (!result)
- return "";
+ return std::string();
size_t newline_index = str.find('\n');
if (newline_index != std::string::npos)
str[newline_index] = '\0';