From d1e39098f94487f544a068b7864aa8d1b1f345cd Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 4 Aug 2014 20:27:25 +0200 Subject: Made setName() virtual so overloading works --- src/definition.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definition.h b/src/definition.h index dfd9dad..05ea621 100644 --- a/src/definition.h +++ b/src/definition.h @@ -271,7 +271,7 @@ class Definition : public DefinitionIntf //----------------------------------------------------------------------------------- /*! Sets a new \a name for the definition */ - void setName(const char *name); + virtual void setName(const char *name); /*! Sets a unique id for the symbol. Used for libclang integration. */ void setId(const char *name); -- cgit v0.12