Skip to content

Commit

Permalink
Change blacklist type (#204)
Browse files Browse the repository at this point in the history
* Set blacklist to std::vector<std::string>

Fix some strange crashes.

Co-authored-by: jackun <jack.un@gmail.com>
  • Loading branch information
valters-tomsons and jackun authored Jun 9, 2020
1 parent 1495b1e commit 40017bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/blacklist.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <array>
#include <vector>
#include <string>
#include <algorithm>

Expand All @@ -23,7 +23,7 @@ static std::string get_proc_name() {
}

static bool check_blacklisted() {
static const std::array<const char *, 17> blacklist {
static const std::vector<std::string> blacklist {
"Battle.net.exe",
"BethesdaNetLauncher.exe",
"EpicGamesLauncher.exe",
Expand Down

0 comments on commit 40017bc

Please sign in to comment.