Index: src/ch/MainWnd.cpp =================================================================== diff -u -N -r1366914bd5d2f7fa72cad0c7012184e1a452a89c -r8a2ff3b2b71b45fb525e030167e62f316cb32869 --- src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision 1366914bd5d2f7fa72cad0c7012184e1a452a89c) +++ src/ch/MainWnd.cpp (.../MainWnd.cpp) (revision 8a2ff3b2b71b45fb525e030167e62f316cb32869) @@ -24,15 +24,12 @@ #include "FolderDialog.h" #include "CustomCopyDlg.h" #include "AboutDlg.h" -#include "ShutdownDlg.h" #include "..\common\ipcstructs.h" #include "UpdateChecker.h" #include "UpdaterDlg.h" -#include "FeedbackHandler.h" #include "MiniviewDlg.h" #include "StatusDlg.h" #include "ClipboardMonitor.h" -#include #include #include "../common/TShellExtMenuConfig.h" #include "../libchcore/TConfig.h" @@ -783,7 +780,7 @@ std::vector vShortcuts; - BOOST_FOREACH(const CString& strShortcutString, vShortcutStrings) + for(const CString& strShortcutString : vShortcutStrings) { CShortcut tShortcut; if(tShortcut.FromString(strShortcutString)) @@ -808,7 +805,7 @@ if(GetPropValue(rConfig)) { std::shared_ptr menuItem(std::make_shared(rResManager.LoadString(IDS_MENUCOPYTO_STRING), rResManager.LoadString(IDS_MENUTIPCOPYTO_STRING))); - BOOST_FOREACH(const CShortcut& tShortcut, vShortcuts) + for(const CShortcut& tShortcut : vShortcuts) { menuItem->AddChild(std::make_shared((PCTSTR)tShortcut.m_strName, (PCTSTR)tShortcut.m_strPath, TOperationTypeInfo(TOperationTypeInfo::eOpType_Specified, chcore::eOperation_Copy), @@ -832,7 +829,7 @@ if(GetPropValue(rConfig)) { std::shared_ptr menuItem(std::make_shared(rResManager.LoadString(IDS_MENUMOVETO_STRING), rResManager.LoadString(IDS_MENUTIPMOVETO_STRING))); - BOOST_FOREACH(const CShortcut& tShortcut, vShortcuts) + for(const CShortcut& tShortcut : vShortcuts) { menuItem->AddChild(std::make_shared((PCTSTR)tShortcut.m_strName, (PCTSTR)tShortcut.m_strPath, TOperationTypeInfo(TOperationTypeInfo::eOpType_Specified, chcore::eOperation_Move), @@ -856,7 +853,7 @@ if(GetPropValue(rConfig)) { std::shared_ptr menuItem(std::make_shared(rResManager.LoadString(IDS_MENUCOPYMOVETOSPECIAL_STRING), rResManager.LoadString(IDS_MENUTIPCOPYMOVETOSPECIAL_STRING))); - BOOST_FOREACH(const CShortcut& tShortcut, vShortcuts) + for(const CShortcut& tShortcut : vShortcuts) { menuItem->AddChild(std::make_shared((PCTSTR)tShortcut.m_strName, (PCTSTR)tShortcut.m_strPath, TOperationTypeInfo(TOperationTypeInfo::eOpType_Specified, chcore::eOperation_Copy),