Browse Source

LogEvent overload from 7c0e13e33 cannot be resolved by linker

Source commit: 90480b589b321603b7ddf241025f0cc8ba9b2944
Martin Prikryl 7 years ago
parent
commit
30960486f2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      source/core/Terminal.cpp
  2. 1 1
      source/core/Terminal.h

+ 1 - 1
source/core/Terminal.cpp

@@ -3072,7 +3072,7 @@ void __fastcall inline TTerminal::LogEvent(const UnicodeString & Str)
   }
 }
 //---------------------------------------------------------------------------
-void __fastcall inline TTerminal::LogEvent(int Level, const UnicodeString & Str)
+void __fastcall TTerminal::LogEvent(int Level, const UnicodeString & Str)
 {
   if (Log->Logging && (Configuration->ActualLogProtocol >= Level))
   {

+ 1 - 1
source/core/Terminal.h

@@ -605,8 +605,8 @@ public:
 
   const TSessionInfo & __fastcall GetSessionInfo();
   const TFileSystemInfo & __fastcall GetFileSystemInfo(bool Retrieve = false);
-  void __fastcall inline LogEvent(int Level, const UnicodeString & Str);
   void __fastcall inline LogEvent(const UnicodeString & Str);
+  void __fastcall LogEvent(int Level, const UnicodeString & Str);
   void __fastcall GetSupportedChecksumAlgs(TStrings * Algs);
   UnicodeString __fastcall ChangeFileName(const TCopyParamType * CopyParam,
     UnicodeString FileName, TOperationSide Side, bool FirstLevel);