Permalink
Browse files

Made setName() virtual so overloading works

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Aug 4, 2014
1 parent 9451c09 commit d1e39098f94487f544a068b7864aa8d1b1f345cd
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit d1e3909

Please sign in to comment.