forked from organicmaps/organicmaps
Exchange new with make_shared().
This commit is contained in:
parent
7967522d1c
commit
684a61ba24
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ FileReader::FileReader(string const & fileName, uint32_t logPageSize, uint32_t l
|
|||
: ModelReader(fileName)
|
||||
, m_logPageSize(logPageSize)
|
||||
, m_logPageCount(logPageCount)
|
||||
, m_fileData(new FileReaderData(fileName, logPageSize, logPageCount))
|
||||
, m_fileData(make_shared<FileReaderData>(fileName, logPageSize, logPageCount))
|
||||
, m_offset(0)
|
||||
, m_size(m_fileData->Size())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue