mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 06:43:01 +05:00
Removed stdext from code
This commit is contained in:
parent
7787d92dc7
commit
f521cba4dd
3 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
|||
#include "StdAfxSA.h"
|
||||
#include "FLACDecoderSA.h"
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
|
||||
FLAC__StreamDecoderReadStatus CAEFLACDecoder::read_cb(const FLAC__StreamDecoder* decoder, FLAC__byte buffer[], size_t* bytes, void* client_data)
|
||||
{
|
||||
|
@ -44,7 +43,7 @@ FLAC__StreamDecoderWriteStatus CAEFLACDecoder::write_cb(const FLAC__StreamDecode
|
|||
pClientData->m_maxBlockSize = pClientData->m_curBlockSize;
|
||||
}
|
||||
|
||||
auto it = std::copy_n( buffer[0], pClientData->m_curBlockSize, stdext::make_checked_array_iterator(pClientData->m_buffer, pClientData->m_curBlockSize * processedChannels) );
|
||||
auto it = std::copy_n( buffer[0], pClientData->m_curBlockSize, pClientData->m_buffer );
|
||||
if ( processedChannels > 1 )
|
||||
{
|
||||
std::copy_n( buffer[1], pClientData->m_curBlockSize, it );
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include "StdAfxSA.h"
|
||||
#include "ModelInfoSA.h"
|
||||
|
||||
#include <iterator>
|
||||
|
||||
static void* BaseModelInfoShutdown = AddressByVersion<void*>(0x4C4D50, 0x4C4DD0, 0x4CF590);
|
||||
WRAPPER void CBaseModelInfo::Shutdown() { VARJMP(BaseModelInfoShutdown); }
|
||||
|
||||
|
@ -80,7 +78,7 @@ void CVehicleModelInfo::FindEditableMaterialList()
|
|||
if ( m_numDirtMaterials > IN_PLACE_BUFFER_DIRT_SIZE )
|
||||
{
|
||||
m_dirtMaterials = new RpMaterial* [m_numDirtMaterials];
|
||||
std::copy( editableMaterials.begin(), editableMaterials.end(), stdext::make_checked_array_iterator(m_dirtMaterials, m_numDirtMaterials) );
|
||||
std::copy( editableMaterials.begin(), editableMaterials.end(), m_dirtMaterials );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#define __POOLS
|
||||
|
||||
#include <cstdint>
|
||||
#include <iterator>
|
||||
|
||||
template <class T, class U = T>
|
||||
class CPool
|
||||
|
|
Loading…
Reference in a new issue