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:
@@ -45,6 +45,7 @@ namespace ue2 {
class UnsupportedVisitor : public DefaultConstComponentVisitor {
public:
~UnsupportedVisitor() override;
using DefaultConstComponentVisitor::pre;
void pre(const ComponentAssertion &) override {
throw ParseError("Zero-width assertions are not supported.");
}