Explorar o código

* Make flush virtual. Fixes issue #40942

Michaël Van Canneyt hai 1 ano
pai
achega
00f015f593
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/fcl-json/src/jsonconf.pp

+ 1 - 1
packages/fcl-json/src/jsonconf.pp

@@ -89,7 +89,7 @@ type
     destructor Destroy; override;
     Procedure Reload;
     procedure Clear;
-    procedure Flush;    // Writes the JSON file
+    procedure Flush; virtual;    // Writes the JSON file
     procedure OpenKey(const aPath: UnicodeString; AllowCreate : Boolean);
     procedure CloseKey;
     procedure ResetKey;