Ignore:
Timestamp:
08/01/13 11:42:22 (11 years ago)
Author:
Marek Kurdej
Message:

Fixed: C4996 unchecked iterator warning on MSVC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/include/Pacpus/kernel/PacpusEvent.h

    r150 r153  
    139139    {
    140140        m_data = new char[m_dataSize];
    141         ::std::copy(data, data + m_dataSize, m_data);
     141        ::std::copy(data, data + m_dataSize, // source
     142#ifdef _MSC_VER
     143            ::stdext::checked_array_iterator<char *>(m_data, m_dataSize) // destination
     144#else
     145            m_data // destination
     146#endif
     147            );
    142148    }
    143149
Note: See TracChangeset for help on using the changeset viewer.