Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-12-14 18:57:43 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:47:56 +0300
commitf151f3a004388cf1c898c0568612bc2793b1dbd1 (patch)
tree777a5e917acd6bd1ba99eb22b60273f8dba76a64 /map/qgl_render_context.hpp
parent0f376a46e576bdfd90f85081e343cce2561b1c37 (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.hpp2
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);