diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-06-01 19:06:35 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-06-01 19:06:35 +0100 |
| commit | f19bb4fe6d1de14f9539768ad9a67391fc52ed87 (patch) | |
| tree | 54ff5c0da1702afb910abe6d341b9e66f5f65cbd /src/highlighter_group.cc | |
| parent | 57a03d84955a3811a029f7190b00f50b00af5521 (diff) | |
Port more code to use the format function instead of adhoc string concat
Diffstat (limited to 'src/highlighter_group.cc')
| -rw-r--r-- | src/highlighter_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlighter_group.cc b/src/highlighter_group.cc index ecaafa95..8a9d364f 100644 --- a/src/highlighter_group.cc +++ b/src/highlighter_group.cc @@ -31,7 +31,7 @@ Highlighter& HighlighterGroup::get_child(StringView path) StringView id(path.begin(), sep_it); auto it = m_highlighters.find(id); if (it == m_highlighters.end()) - throw child_not_found("no such id: "_str + id); + throw child_not_found("no such id: " + id); if (sep_it == path.end()) return *it->second; else |
