瀏覽代碼

Inline those!

Douglas William Thrift 14 年之前
父節點
當前提交
55c682bee0
共有 1 個文件被更改,包括 2 次插入2 次删除
  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_);
 	}