Skip to content

Commit

Permalink
Made setName() virtual so overloading works
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Aug 4, 2014
1 parent 9451c09 commit d1e3909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definition.h
Expand Up @@ -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);
Expand Down

0 comments on commit d1e3909

Please sign in to comment.