diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-27 16:39:51 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-27 16:46:57 +0100 |
| commit | 5bff742e0a40fd414bc7f6a10c736cf59d346b14 (patch) | |
| tree | eae9da4a0ae6a36c033546caed1b1ddf196268bc /src/regex.cc | |
| parent | 720c54c759c90288da185be2dbfcef8b2ecb1e9b (diff) | |
Replace some String temporaries with StringViews
Diffstat (limited to 'src/regex.cc')
| -rw-r--r-- | src/regex.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.cc b/src/regex.cc index 23916036..4df06dc6 100644 --- a/src/regex.cc +++ b/src/regex.cc @@ -8,7 +8,7 @@ namespace Kakoune String option_to_string(const Regex& re) { const auto& str = re.str(); - return String{str.begin(), str.end()}; + return {str.begin(), str.end()}; } void option_from_string(StringView str, Regex& re) |
