浏览代码

[options] some fixes

Exilon 3 年之前
父节点
当前提交
50815fd1a6
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Quick.Options.pas

+ 4 - 0
Quick.Options.pas

@@ -77,7 +77,9 @@ type
   end;
 
   {$IFDEF DELPHIRX102_UP}
+  {$M+}
   TOptions = class;
+  {$M-}
 
   TConfigureOptionsProc<T : TOptions> = reference to procedure(aOptions : T);
   {$ELSE}
@@ -89,6 +91,7 @@ type
     procedure ValidateOptions;
   end;
 
+  {$M+}
   TOptions = class(TInterfacedObject,IOptionsValidator)
   private
     fName : string;
@@ -106,6 +109,7 @@ type
     {$ENDIF}
     procedure ValidateOptions;
   end;
+  {$M-}
 
   TOptionsValidator = class(TInterfacedObject,IOptionsValidator)
   private