Commit 9fef4fb9 authored by Tobias Hunger's avatar Tobias Hunger

CPlusPlus: Fix warnings about overriding visit(...) methods

Change-Id: I142b6c7b6573518dbd44557f3a66c5d683bb592d
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 766b222d
......@@ -626,6 +626,9 @@ private:
bool found() const { return _found; }
private:
using TypeVisitor::visit;
using NameVisitor::visit;
void visit(PointerType *type) override { accept(type->elementType().type()); }
void visit(ReferenceType *type) override { accept(type->elementType().type()); }
void visit(NamedType *type) override { accept(type->name()); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment