Procházet zdrojové kódy

Update UCommon.pas

fixed compilation bug when not in UNITTESTS
PascalCoin před 6 roky
rodič
revize
f99bfb94be
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/libraries/sphere10/UCommon.pas

+ 1 - 1
src/libraries/sphere10/UCommon.pas

@@ -44,8 +44,8 @@ const
 
 
 function String2Hex(const Buffer: String): String;
-function Hex2Bytes(const AHexString: String): TBytes; overload;
 {$IFDEF UNITTESTS}
+function Hex2Bytes(const AHexString: String): TBytes; overload;
 function TryHex2Bytes(const AHexString: String; out ABytes : TBytes): boolean; overload;
 function Bytes2Hex(const ABytes: TBytes; AUsePrefix : boolean = false) : String;
 {$ENDIF}