diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-03-10 19:33:46 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-03-10 19:50:22 +0000 |
| commit | 3c1a325b6f7c67c530d99aaaedf5f8c96f2b2de6 (patch) | |
| tree | f6cdaf2eec33dee178e3c888f5120ea43479b157 /src/hook_manager.cc | |
| parent | a0cf75ec39c679776b28b178a4299cf0ad204a1c (diff) | |
Refactor String, use a common StringOps interface, hide std::string
Diffstat (limited to 'src/hook_manager.cc')
| -rw-r--r-- | src/hook_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hook_manager.cc b/src/hook_manager.cc index cc4c1ec6..d7879c61 100644 --- a/src/hook_manager.cc +++ b/src/hook_manager.cc @@ -51,7 +51,7 @@ void HookManager::run_hook(StringView hook_name, for (auto& hook : hook_list_it->second) { if (not hook.first.empty() and not disabled_hooks.empty() and - regex_match(hook.first, disabled_hooks)) + regex_match(hook.first.begin(), hook.first.end(), disabled_hooks)) continue; try |
