mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 10:34:25 +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:
|
||||
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user