[SCM] kodi-pvr-hts/master: fixed crash in logger on windows.
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:57 UTC 2016
The following commit has been merged in the master branch:
commit 1f688dce5f0746377f3fadfd2a3ffe979278e92e
Author: Anton Fedchin <afedchin at ruswizards.com>
Date: Mon Jan 11 12:59:53 2016 +0300
fixed crash in logger on windows.
diff --git a/src/tvheadend/utilities/Logger.cpp b/src/tvheadend/utilities/Logger.cpp
index 98e3175..5414442 100644
--- a/src/tvheadend/utilities/Logger.cpp
+++ b/src/tvheadend/utilities/Logger.cpp
@@ -40,7 +40,7 @@ Logger &Logger::GetInstance()
return instance;
}
-void Logger::Log(LogLevel level, const std::string &message, ...)
+void Logger::Log(LogLevel level, const char *message, ...)
{
auto &logger = GetInstance();
diff --git a/src/tvheadend/utilities/Logger.h b/src/tvheadend/utilities/Logger.h
index 1599117..be296d4 100644
--- a/src/tvheadend/utilities/Logger.h
+++ b/src/tvheadend/utilities/Logger.h
@@ -64,7 +64,7 @@ namespace tvheadend
* @param message the log message
* @param ... parameters for the log message
*/
- static void Log(LogLevel level, const std::string &message, ...);
+ static void Log(LogLevel level, const char *message, ...);
/**
* Configures the logger to use the specified implementation
--
kodi-pvr-hts packaging
More information about the pkg-multimedia-commits
mailing list