diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2012-12-14 18:57:43 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:47:56 +0300 |
commit | f151f3a004388cf1c898c0568612bc2793b1dbd1 (patch) | |
tree | 777a5e917acd6bd1ba99eb22b60273f8dba76a64 /map/qgl_render_context.hpp | |
parent | 0f376a46e576bdfd90f85081e343cce2561b1c37 (diff) |
returning raw pointer instead of shared_ptr from RenderContext::createShared, allowing clients to choose lifetime handling policy by themselves.
Diffstat (limited to 'map/qgl_render_context.hpp')
-rw-r--r-- | map/qgl_render_context.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/qgl_render_context.hpp b/map/qgl_render_context.hpp index e95f73cb53..661c2d780c 100644 --- a/map/qgl_render_context.hpp +++ b/map/qgl_render_context.hpp @@ -30,7 +30,7 @@ namespace qt /// Make this rendering context current void makeCurrent(); - shared_ptr<graphics::RenderContext> createShared(); + graphics::RenderContext * createShared(); /// Leave previous logic, but fix thread widget deletion error. void endThreadDrawing(unsigned threadSlot); |