summaryrefslogtreecommitdiff
path: root/src/remote.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-06-01 21:15:59 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-06-01 21:15:59 +0100
commit8f6fc6a0f3bad813f6f7a6ca5cd8ae56afd31cc3 (patch)
treee7611265f4e905330910ebdc3d4f1c317b4d4f67 /src/remote.hh
parentf19bb4fe6d1de14f9539768ad9a67391fc52ed87 (diff)
Port even more code to use format function
Diffstat (limited to 'src/remote.hh')
-rw-r--r--src/remote.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.hh b/src/remote.hh
index bb59270d..60d61619 100644
--- a/src/remote.hh
+++ b/src/remote.hh
@@ -17,7 +17,7 @@ struct peer_disconnected {};
struct connection_failed : runtime_error
{
connection_failed(StringView filename)
- : runtime_error{"connect to " + filename + " failed"}
+ : runtime_error{format("connect to {} failed", filename)}
{}
};