Mercurial > code
changeset 661:a7ef5d868275
options: use token
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 16 Jul 2019 20:31:36 +0200 |
parents | 913c8ef054d3 |
children | c13e190b2a74 |
files | cpp/options/options.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cpp/options/options.hpp Tue Jul 16 20:01:00 2019 +0200 +++ b/cpp/options/options.hpp Tue Jul 16 20:31:36 2019 +0200 @@ -92,7 +92,7 @@ continue; } - const auto sub = it->substr(1); + const auto sub = token.substr(1); for (std::size_t i = 0U; i < sub.size(); ++i) { const auto idx = fmt.find(sub[i]);