ソースを参照

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_);
 	}