Index: src/libchcore/TSubTaskStatsInfo.h =================================================================== diff -u -N -r7d59ab9183c933f2fc2682a95fb5d26cf2f952d7 -ra476ced2f2235ee21c69176e88eba1cf7aea861f --- src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision 7d59ab9183c933f2fc2682a95fb5d26cf2f952d7) +++ src/libchcore/TSubTaskStatsInfo.h (.../TSubTaskStatsInfo.h) (revision a476ced2f2235ee21c69176e88eba1cf7aea861f) @@ -48,7 +48,7 @@ static const unsigned long long DefaultSpeedSampleTime = 100; // in miliseconds public: - TSubTaskStatsInfo(); + TSubTaskStatsInfo(ESubOperationType eSubTaskType); void Init(int iCurrentBufferIndex, file_count_t fcTotalCount, file_count_t fcProcessedCount, unsigned long long ullTotalSize, unsigned long long ullProcessedSize, const TString& strCurrentPath); void Clear(); @@ -98,7 +98,6 @@ void SetCurrentPath(const TString& strPath); ESubOperationType GetSubOperationType() const { return m_eSubOperationType; } - void SetSubOperationType(ESubOperationType val) { m_eSubOperationType = val; } // serialization void Store(ISerializerRowData& rRowData) const; @@ -135,7 +134,6 @@ eMod_Timer, eMod_CurrentBufferIndex, eMod_CurrentPath, - eMod_SubOperationType, eMod_IsInitialized, eMod_CurrentItemIndex, eMod_CurrentItemCanResumeSilently, @@ -169,10 +167,10 @@ TSharedModificationTracker m_strCurrentPath; // currently processed path - TSharedModificationTracker m_eSubOperationType; - TSharedModificationTracker m_bIsInitialized; + const ESubOperationType m_eSubOperationType; + #pragma warning(push) #pragma warning(disable: 4251) mutable boost::shared_mutex m_lock;