mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 10:10:35 +03:00
Use using directives to silence hiding warning
This commit is contained in:
committed by
Matthew Barr
parent
60dcd0c160
commit
4e80d22d79
@@ -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:
|
||||
@@ -73,6 +73,8 @@ public:
|
||||
throw ParseError(str.str());
|
||||
}
|
||||
|
||||
using DefaultConstComponentVisitor::pre;
|
||||
|
||||
void pre(const ComponentBackReference &c) override {
|
||||
if (c.ref_id) {
|
||||
if (c.ref_id >= num_ids) {
|
||||
|
||||
Reference in New Issue
Block a user