summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/definition.h2
1 files changed, 1 insertions, 1 deletions
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);