diff Assets/Application/BenchMarkTest.cs @ 7:ad4729c5eec4

fix error.
author Kazuma Takeda
date Thu, 15 Dec 2016 22:45:31 +0900
parents 12f4f937da7f
children
line wrap: on
line diff
--- a/Assets/Application/BenchMarkTest.cs	Mon Dec 05 05:24:05 2016 +0900
+++ b/Assets/Application/BenchMarkTest.cs	Thu Dec 15 22:45:31 2016 +0900
@@ -1,5 +1,6 @@
 using UnityEngine;
 using System.Collections;
+using JungleDB;
 
 public class BenchMarkTest : MonoBehaviour {
 
@@ -14,7 +15,7 @@
 		JungleTree tree = jungle.getTreeByName("TestTree");
 		JungleTreeEditor editor = tree.getTreeEditor();
 		editor = createTree(editor, 0, 3, new DefaultNodePath());
-		Either<Error, JungleTreeEditor> either = editor.success();
+		Either<Error, JungleTreeEditor> either = editor.commit();
 		DebugCommon.Assert (either.isA (), "[Error]" + either.a());
 		sw.Stop ();
 		print ("[Time]"  + sw.Elapsed);