Skip to content

Commit 50815fd

Browse files
committed
[options] some fixes
1 parent a42fdae commit 50815fd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Quick.Options.pas

+4
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ TOptionsBase = class(TInterfacedObject)
7777
end;
7878

7979
{$IFDEF DELPHIRX102_UP}
80+
{$M+}
8081
TOptions = class;
82+
{$M-}
8183

8284
TConfigureOptionsProc<T : TOptions> = reference to procedure(aOptions : T);
8385
{$ELSE}
@@ -89,6 +91,7 @@ TOptions = class;
8991
procedure ValidateOptions;
9092
end;
9193

94+
{$M+}
9295
TOptions = class(TInterfacedObject,IOptionsValidator)
9396
private
9497
fName : string;
@@ -106,6 +109,7 @@ TOptions = class(TInterfacedObject,IOptionsValidator)
106109
{$ENDIF}
107110
procedure ValidateOptions;
108111
end;
112+
{$M-}
109113

110114
TOptionsValidator = class(TInterfacedObject,IOptionsValidator)
111115
private

0 commit comments

Comments
 (0)