diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-08-07 01:45:40 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:25:03 +0300 |
commit | baf239aef8bfbc76b2e1b09c5dc59b8463160a3b (patch) | |
tree | c9896e450a4a8a7113b94a74809d7dbc7cb98eeb /coding/file_writer.hpp | |
parent | 180657e756fefbe5d601c64b860ee470217b4956 (diff) |
[c++11] Migrated from scoped_ptr to unique_ptr
Diffstat (limited to 'coding/file_writer.hpp')
-rw-r--r-- | coding/file_writer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coding/file_writer.hpp b/coding/file_writer.hpp index ad2f2afc1e..aeceb19f9b 100644 --- a/coding/file_writer.hpp +++ b/coding/file_writer.hpp @@ -1,7 +1,7 @@ #pragma once #include "writer.hpp" #include "../base/base.hpp" -#include "../std/scoped_ptr.hpp" +#include "../std/unique_ptr.hpp" namespace my { class FileData; } @@ -46,6 +46,6 @@ public: private: typedef my::FileData fdata_t; - scoped_ptr<fdata_t> m_pFileData; + unique_ptr<fdata_t> m_pFileData; bool m_bTruncOnClose; }; |