summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sagunov <danilka.pro@gmail.com>2012-10-15 18:22:34 +0400
committerAndrei Karas <akaras@inbox.ru>2012-10-15 17:45:56 +0300
commit2b2bcb008b549c35cb18720f86b2d4c3eaf0903a (patch)
treeefb50c79b180a2ed57acf61df6dd6c4279a3d837
parentf3593249db70b99ebf85342b4d6e5e02a14cad88 (diff)
downloadplus-2b2bcb008b549c35cb18720f86b2d4c3eaf0903a.tar.gz
plus-2b2bcb008b549c35cb18720f86b2d4c3eaf0903a.tar.bz2
plus-2b2bcb008b549c35cb18720f86b2d4c3eaf0903a.tar.xz
plus-2b2bcb008b549c35cb18720f86b2d4c3eaf0903a.zip
Corrected argument passing for DLOG_ANDROID
-rw-r--r--src/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index f125bf9eb..f3b5d4e04 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -108,7 +108,7 @@ void Logger::dlog(std::string str)
<< static_cast<int>((tv.tv_usec / 10000) % 100)
<< "] ";
- DLOG_ANDROID(str)
+ DLOG_ANDROID(str.c_str())
if (mLogFile.is_open())
mLogFile << timeStr.str() << str << std::endl;