summaryrefslogtreecommitdiff
path: root/src/option_types.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-01-18 09:00:54 +1100
committerMaxime Coste <mawww@kakoune.org>2018-01-18 09:00:54 +1100
commiteeacb8b5a87da979d547a223cca6a319717281c8 (patch)
tree12df59ab041de98416b9f1fde17e2760f8a489c0 /src/option_types.hh
parentb4f8497f8dc4cbbd703e94a205b7cea90927ce03 (diff)
Use the _str and _sv string literals more often
Diffstat (limited to 'src/option_types.hh')
-rw-r--r--src/option_types.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option_types.hh b/src/option_types.hh
index 0c3fc3e3..1e736436 100644
--- a/src/option_types.hh
+++ b/src/option_types.hh
@@ -109,7 +109,7 @@ bool option_add(Vector<T, domain>& opt, StringView str)
template<typename T, MemoryDomain D>
String option_type_name(Meta::Type<Vector<T, D>>)
{
- return option_type_name(Meta::Type<T>{}) + StringView{"-list"};
+ return option_type_name(Meta::Type<T>{}) + "-list"_sv;
}
template<typename Key, typename Value, MemoryDomain domain>