Skip to content

Commit

Permalink
cleanup TODO's
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Mar 29, 2024
1 parent 63a2382 commit 640ddd7
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 12 deletions.
3 changes: 1 addition & 2 deletions DataScraping/XML/NamedItems.pas
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@
Sort(save_ready, item->item.Name);

for var i := 0 to save_ready.Length-1 do
//TODO #3060: as
(save_ready[i] as NamedItem<TSelf, TName>).bin_index := i;
save_ready[i].bin_index := i;

end;

Expand Down
2 changes: 0 additions & 2 deletions Packing/Template/LowLvl/BinUtils.pas
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
unit BinUtils;

{$savepcu false} //TODO #3057

uses System;
uses '..\..\..\Utils\TypeMagic';

Expand Down
2 changes: 1 addition & 1 deletion Utils/Fixers.pas
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ interface
var start := true;
var bl_start := true;

//TODO #2683
//TODO #2715
var make_res: function: (array of string,array of string) := ()->
begin
var lc := res.Count;
Expand Down
3 changes: 0 additions & 3 deletions Utils/Patterns.pas
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
unit Patterns;
{$zerobasedstrings}

//TODO #2739
{$savepcu false}

interface

uses System;
Expand Down
4 changes: 2 additions & 2 deletions Utils/Patterns/test.pas
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

var p: MergedString;
begin
var ps := EnumerateFiles('G:/0Prog/AutoMaximize/Classes/1 What')
var ps := EnumerateFiles('G:\0Prog\AutoMaximize\Classes\1 What')
.Select(System.IO.Path.GetFileName)
.Where(fname->fname.StartsWith('HwndWrapper'))
// .Where(fname->fname.StartsWith('HwndWrapper'))
.Select(MergedString.Literal)
.ToHashSet;
while ps.Count.Println>1 do
Expand Down
2 changes: 0 additions & 2 deletions Utils/SubExecuters.pas
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
uses PathUtils;
uses Timers;

uses AQueue; //TODO #2543

{$region Helpers}

type
Expand Down

0 comments on commit 640ddd7

Please sign in to comment.