Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-01-19 18:23:03 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:14:16 +0300
commit777be28e30235e1f3ae971a3f4668eb5d9eb0cc5 (patch)
tree0a3296778aa02002e2b272c285933bd01cf15082 /platform/downloader_tests
parentd2622868bf6baca0374662fb70f68809c8d86223 (diff)
ScopedLogLevelChanger integration.
Diffstat (limited to 'platform/downloader_tests')
-rw-r--r--platform/downloader_tests/downloader_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/downloader_tests/downloader_test.cpp b/platform/downloader_tests/downloader_test.cpp
index df3ef426df..2a7a8235b1 100644
--- a/platform/downloader_tests/downloader_test.cpp
+++ b/platform/downloader_tests/downloader_test.cpp
@@ -38,12 +38,12 @@ class DownloadObserver
vector<HttpRequest::StatusT> m_statuses;
// Interrupt download after this number of chunks
int m_chunksToFail;
+ my::ScopedLogLevelChanger const m_debugLogLevel;
public:
- DownloadObserver() : m_chunksToFail(-1)
+ DownloadObserver() : m_chunksToFail(-1), m_debugLogLevel(LDEBUG)
{
Reset();
- my::g_LogLevel = LDEBUG;
}
void CancelDownloadOnGivenChunk(int chunksToFail)