summaryrefslogtreecommitdiffstats
path: root/src/classdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/classdef.h')
-rw-r--r--src/classdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/classdef.h b/src/classdef.h
index bd06323..faaf0f6 100644
--- a/src/classdef.h
+++ b/src/classdef.h
@@ -160,14 +160,14 @@ class ClassDef : virtual public Definition
virtual BaseClassList baseClasses() const = 0;
/** Update the list of base classes to the one passed */
- virtual void updateBaseClasses(BaseClassList bcd) = 0;
+ virtual void updateBaseClasses(const BaseClassList &bcd) = 0;
/** Returns the list of sub classes that directly derive from this class
*/
virtual BaseClassList subClasses() const = 0;
/** Update the list of sub classes to the one passed */
- virtual void updateSubClasses(BaseClassList bcd) = 0;
+ virtual void updateSubClasses(const BaseClassList &bcd) = 0;
/** Returns a dictionary of all members. This includes any inherited
* members. Members are sorted alphabetically.