Remove warning during building process
authorMaciej Piotrowski <m.piotrowski@samsung.com>
Fri, 11 Oct 2013 08:53:27 +0000 (10:53 +0200)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 17 Oct 2013 00:53:26 +0000 (00:53 +0000)
    [Issue#]     LINUXWRT-1004
    [Problem]    Warning was displayed during building process
    [Cause]      Members initialization order was wrong in constructor
                 DPL::ZipInput::ZipInput (modules/core/src/zip_input.cpp)
    [Solution]   Set proper initialization order, like it is defined in
                 modules/core/include/dpl/zip_input.h
    [Verification] Build repository.
    [SCMRequest] N/A

Change-Id: Icd8cc3c83b22c9b4a470d2bf5b1ec01d97cdb049

modules/core/src/zip_input.cpp

index 017aa5a..fadc60f 100644 (file)
@@ -293,8 +293,8 @@ ZipInput::ZipInput(const std::string &fileName) :
     m_device(NULL),
     m_numberOfFiles(0),
     m_globalComment(),
-    m_fileInfos(),
-    m_totalUncompressedSize(0)
+    m_totalUncompressedSize(0),
+    m_fileInfos()
 {
     LogPedantic("Zip input file: " << fileName);