Browse Source

Fix warnings

Brian Fiete 4 years ago
parent
commit
a9f5027d72
1 changed files with 3 additions and 3 deletions
  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)