Index: src/ch/FeedbackNotEnoughSpaceDlg.cpp =================================================================== diff -u -N -r08717141ce5f6926116c298cbc9442094a45bb67 -r3993a75a24145732742d61be638111d1d85c367b --- src/ch/FeedbackNotEnoughSpaceDlg.cpp (.../FeedbackNotEnoughSpaceDlg.cpp) (revision 08717141ce5f6926116c298cbc9442094a45bb67) +++ src/ch/FeedbackNotEnoughSpaceDlg.cpp (.../FeedbackNotEnoughSpaceDlg.cpp) (revision 3993a75a24145732742d61be638111d1d85c367b) @@ -32,24 +32,25 @@ ///////////////////////////////////////////////////////////////////////////// // CFeedbackNotEnoughSpaceDlg dialog -CFeedbackNotEnoughSpaceDlg::CFeedbackNotEnoughSpaceDlg(unsigned long long ullSizeRequired, const wchar_t* pszSrcPath, const wchar_t* pszDstPath) +CFeedbackNotEnoughSpaceDlg::CFeedbackNotEnoughSpaceDlg(chengine::FeedbackRules& currentRules, unsigned long long ullSizeRequired, const wchar_t* pszSrcPath, const wchar_t* pszDstPath) :ictranslate::CLanguageDialog(IDD_FEEDBACK_NOTENOUGHSPACE_DIALOG), m_strDisk(pszDstPath), m_ullRequired(ullSizeRequired), m_bAllItems(FALSE), - m_fsLocal(GetLogFileData()) + m_fsLocal(GetLogFileData()), + m_rules(currentRules) { - m_vstrFiles.push_back(pszSrcPath); + m_vstrFiles.emplace_back(pszSrcPath); } bool CFeedbackNotEnoughSpaceDlg::IsApplyToAllItemsChecked() const { return m_bAllItems; } -const chengine::FeedbackNotEnoughSpaceRuleList& CFeedbackNotEnoughSpaceDlg::GetRules() const +const chengine::FeedbackRules& CFeedbackNotEnoughSpaceDlg::GetRules() const { - return m_feedbackRules; + return m_rules; } void CFeedbackNotEnoughSpaceDlg::DoDataExchange(CDataExchange* pDX)