summaryrefslogtreecommitdiff
path: root/src/insert_completer.cc
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/insert_completer.cc
parentf19bb4fe6d1de14f9539768ad9a67391fc52ed87 (diff)
Port even more code to use format function
Diffstat (limited to 'src/insert_completer.cc')
-rw-r--r--src/insert_completer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc
index 30be039c..24863676 100644
--- a/src/insert_completer.cc
+++ b/src/insert_completer.cc
@@ -56,7 +56,7 @@ void option_from_string(StringView str, InsertCompleterDesc& opt)
opt.param = Optional<String>{};
return;
}
- throw runtime_error("invalid completer description: " + str);
+ throw runtime_error(format("invalid completer description: '{}'", str));
}
namespace