diff --git a/tools/sancov/sancov.cpp b/tools/sancov/sancov.cpp index 9f5de69ee55..9645183c2bc 100644 --- a/tools/sancov/sancov.cpp +++ b/tools/sancov/sancov.cpp @@ -123,8 +123,8 @@ static const uint32_t BinCoverageMagic = 0xC0BFFFFF; static const uint32_t Bitness32 = 0xFFFFFF32; static const uint32_t Bitness64 = 0xFFFFFF64; -static Regex SancovFileRegex("(.*)\\.[0-9]+\\.sancov"); -static Regex SymcovFileRegex(".*\\.symcov"); +static const Regex SancovFileRegex("(.*)\\.[0-9]+\\.sancov"); +static const Regex SymcovFileRegex(".*\\.symcov"); // --------- MAIN DATASTRUCTURES ----------