diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2019-04-10 19:24:04 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2019-04-12 12:56:38 +0300 |
commit | c198137d69f40c5fe17a399c06e2d2934109d8b1 (patch) | |
tree | 360a96ced514727f05d49c7783155aae37a387fd /drape_frontend/circles_pack_shape.cpp | |
parent | 1eb7a1d11626f1598dbd3c3bcab841e7a6cc4c40 (diff) |
[std] Use new include style for coding, fixes.
Diffstat (limited to 'drape_frontend/circles_pack_shape.cpp')
-rw-r--r-- | drape_frontend/circles_pack_shape.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drape_frontend/circles_pack_shape.cpp b/drape_frontend/circles_pack_shape.cpp index 034231fb0c..1d433acb61 100644 --- a/drape_frontend/circles_pack_shape.cpp +++ b/drape_frontend/circles_pack_shape.cpp @@ -10,6 +10,8 @@ #include "drape/graphics_context.hpp" #include "drape/texture_manager.hpp" +#include <memory> + namespace df { namespace @@ -36,7 +38,7 @@ dp::RenderState GetCirclesPackState(ref_ptr<dp::TextureManager> texMng) dp::BindingInfo const & GetCirclesPackStaticBindingInfo() { - static unique_ptr<dp::BindingInfo> s_info; + static std::unique_ptr<dp::BindingInfo> s_info; if (s_info == nullptr) { dp::BindingFiller<CirclesPackStaticVertex> filler(1); @@ -48,7 +50,7 @@ dp::BindingInfo const & GetCirclesPackStaticBindingInfo() dp::BindingInfo const & GetCirclesPackDynamicBindingInfo() { - static unique_ptr<dp::BindingInfo> s_info; + static std::unique_ptr<dp::BindingInfo> s_info; if (s_info == nullptr) { dp::BindingFiller<CirclesPackDynamicVertex> filler(2, kDynamicStreamID); |