[SHELLEXT][ZIPFLDR] Performance: Initialize m_Filename quickly
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 22 Oct 2019 00:55:06 +0000 (09:55 +0900)
committerKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Tue, 22 Oct 2019 00:55:06 +0000 (09:55 +0900)
dll/shellext/zipfldr/CConfirmReplace.cpp

index 93edf99..4f51ee6 100644 (file)
@@ -14,8 +14,8 @@ private:
 public:
 
     CConfirmReplace(const char* filename)
+        : m_Filename(filename)
     {
-        m_Filename = filename;
     }
 
     LRESULT OnInitDialog(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)