mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
Don't shadow names
This commit is contained in:
@@ -79,9 +79,9 @@ namespace {
|
||||
class gough_build_strat : public mcclellan_build_strat {
|
||||
public:
|
||||
gough_build_strat(
|
||||
raw_som_dfa &r, const GoughGraph &g, const ReportManager &rm,
|
||||
raw_som_dfa &r, const GoughGraph &g, const ReportManager &rm_in,
|
||||
const map<dstate_id_t, gough_accel_state_info> &accel_info)
|
||||
: mcclellan_build_strat(r, rm), rdfa(r), gg(g),
|
||||
: mcclellan_build_strat(r, rm_in), rdfa(r), gg(g),
|
||||
accel_gough_info(accel_info) {}
|
||||
unique_ptr<raw_report_info> gatherReports(vector<u32> &reports /* out */,
|
||||
vector<u32> &reports_eod /* out */,
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -347,9 +347,9 @@ void match(accel_data &d, const CharReach &ref_cr, const CharReach &cur_cr) {
|
||||
}
|
||||
}
|
||||
|
||||
MultiaccelCompileHelper::MultiaccelCompileHelper(const CharReach &ref_cr, u32 off,
|
||||
unsigned max_len) :
|
||||
cr(ref_cr), offset(off), max_len(max_len) {
|
||||
MultiaccelCompileHelper::MultiaccelCompileHelper(const CharReach &ref_cr,
|
||||
u32 off, unsigned max_length)
|
||||
: cr(ref_cr), offset(off), max_len(max_length) {
|
||||
int accel_num = (int) MultibyteAccelInfo::MAT_MAX;
|
||||
accels.resize(accel_num);
|
||||
|
||||
|
Reference in New Issue
Block a user