Bläddra i källkod

Inline those!

Douglas William Thrift 14 år sedan
förälder
incheckning
55c682bee0
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      dtpstree.cpp

+ 2 - 2
dtpstree.cpp

@@ -464,12 +464,12 @@ public:
 		return root_ = !parent_;
 	}
 
-	void printByPid(Tree &tree) const
+	inline void printByPid(Tree &tree) const
 	{
 		print(tree, childrenByPid_);
 	}
 
-	void printByName(Tree &tree) const
+	inline void printByName(Tree &tree) const
 	{
 		print(tree, childrenByName_);
 	}