Use using directives to silence hiding warning

This commit is contained in:
Justin Viiret
2016-02-17 16:54:45 +11:00
committed by Matthew Barr
parent 60dcd0c160
commit 4e80d22d79
3 changed files with 13 additions and 3 deletions

View File

@@ -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) {