[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    make_it_cool: kdeedu/kig/objects
From:       Dominique Devriese <devriese () kde ! org>
Date:       2003-01-31 14:46:24
[Download RAW message or body]

CVS commit by domi: 

tiny optimisation..


  M +1 -1      object.cc   1.1.2.7
  M +1 -1      object.h   1.57.2.5


--- kdeedu/kig/objects/object.cc  #1.1.2.6:1.1.2.7
@@ -150,5 +150,5 @@ Objects Object::getAllChildren() const
 }
 
-Objects Object::parents() const
+const Objects& Object::parents() const
 {
   return mparents;

--- kdeedu/kig/objects/object.h  #1.57.2.4:1.57.2.5
@@ -118,5 +118,5 @@ public:
   Objects getAllChildren() const;
 
-  Objects parents() const;
+  const Objects& parents() const;
 
   bool has( int typeID ) const;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic