瀏覽代碼

Fix warnings

Brian Fiete 4 年之前
父節點
當前提交
a9f5027d72
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      BeefTools/BeefPerf/src/ScriptManager.bf

+ 3 - 3
BeefTools/BeefPerf/src/ScriptManager.bf

@@ -26,8 +26,8 @@ namespace BeefPerf
 				public Object mTargetObject;
 			}
 
-			public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
-			public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionaryAndKeysAndItems!(_);
+			public Dictionary<String, Target> mTargets = new .() ~ DeleteDictionaryAndKeysAndValues!(_);
+			public Dictionary<String, Cmd> mCmds = new .() ~ DeleteDictionaryAndKeysAndValues!(_);
 		}
 
 		public class QueuedCmd
@@ -153,7 +153,7 @@ namespace BeefPerf
 
 		public void Clear()
 		{
-			DeleteAndClearItems!(mCmdList);
+			ClearAndDeleteItems!(mCmdList);
 		}
 
 		public void QueueCommandFile(StringView filePath)