From 1a29f5670a16183a75099eedb1acda9aaf907c66 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 6 Nov 2021 04:53:31 -0600 Subject: [PATCH] fix crash --- extensions/regexfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/regexfilter.cpp b/extensions/regexfilter.cpp index 682e3e7..7226f83 100644 --- a/extensions/regexfilter.cpp +++ b/extensions/regexfilter.cpp @@ -14,7 +14,7 @@ const char* REGEX_SAVE_FILE = "SavedRegexFilters.txt"; std::optional regex; std::wstring replace = L"$1"; concurrency::reader_writer_lock m; -DWORD (*GetSelectedProcessId)() = nullptr; +DWORD (*GetSelectedProcessId)() = [] { return 0UL; }; class Window : public QDialog, Localizer {