blob: ad0e3c3a69d31e4f30c4a5b53f98044e0138567c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- plugins/builtin/source/content/views/view_hex_editor.cpp.orig 2022-07-04 19:53:18 UTC
+++ plugins/builtin/source/content/views/view_hex_editor.cpp
@@ -199,7 +199,7 @@ namespace hex::plugin::builtin {
reader.seek(this->m_searchPosition.value_or(editor->getSelection().getEndAddress()));
constexpr static auto searchFunction = [](const auto &haystackBegin, const auto &haystackEnd, const auto &needleBegin, const auto &needleEnd) {
- return std::search(haystackBegin, haystackEnd, std::boyer_moore_horspool_searcher(needleBegin, needleEnd));
+ return std::search(haystackBegin, haystackEnd, needleBegin, needleEnd);
};
if (!backwards) {
|