Browse Source

[linQ] some changes

Exilon 5 years ago
parent
commit
f348162083
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Quick.Linq.pas

+ 1 - 3
Quick.Linq.pas

@@ -80,6 +80,7 @@ type
     function Delete : Integer;
     function Delete : Integer;
   end;
   end;
 
 
+  {$IFNDEF FPC}
   TLinqArray<T> = class(TInterfacedObject,ILinqArray<T>)
   TLinqArray<T> = class(TInterfacedObject,ILinqArray<T>)
   type
   type
     TLinqComparer = class(TInterfacedObject,IComparer<T>)
     TLinqComparer = class(TInterfacedObject,IComparer<T>)
@@ -111,7 +112,6 @@ type
     function Delete : Integer;
     function Delete : Integer;
   end;
   end;
 
 
-  {$IFNDEF FPC}
   TLinqArrayHelper = record helper for TArray<string>
   TLinqArrayHelper = record helper for TArray<string>
     function Add(const aValue : string) : Integer;
     function Add(const aValue : string) : Integer;
     function AddIfNotExists(const aValue : string) : Integer;
     function AddIfNotExists(const aValue : string) : Integer;
@@ -557,7 +557,6 @@ function TLinqExpression<T>.IsNull : Boolean;
 begin
 begin
   Result := not Assigned(fPredicate);
   Result := not Assigned(fPredicate);
 end;
 end;
-{$ENDIF}
 
 
 { TLinqArray<T> }
 { TLinqArray<T> }
 
 
@@ -768,7 +767,6 @@ end;
 
 
 { TLinqArrayHelper }
 { TLinqArrayHelper }
 
 
-{$IFNDEF FPC}
 function TLinqArrayHelper.Add(const aValue : string) : Integer;
 function TLinqArrayHelper.Add(const aValue : string) : Integer;
 begin
 begin
   SetLength(Self,Length(Self)+1);
   SetLength(Self,Length(Self)+1);