Browse Source

Inline those!

Douglas William Thrift 14 năm trước cách đây
mục cha
commit
55c682bee0
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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_);
 	}