diff options
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/tools/surfaceproxy.hxx | 2 | ||||
-rw-r--r-- | canvas/source/tools/surfaceproxymanager.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/canvas/source/tools/surfaceproxy.hxx b/canvas/source/tools/surfaceproxy.hxx index 56f4ac7a926b..4efdd0302755 100644 --- a/canvas/source/tools/surfaceproxy.hxx +++ b/canvas/source/tools/surfaceproxy.hxx @@ -114,8 +114,6 @@ namespace canvas // 32bit rgba and can have any size. canvas::IColorBufferSharedPtr mpBuffer; }; - - typedef std::shared_ptr< SurfaceProxy > SurfaceProxySharedPtr; } #endif diff --git a/canvas/source/tools/surfaceproxymanager.cxx b/canvas/source/tools/surfaceproxymanager.cxx index 3f3eb6baec9b..080033963405 100644 --- a/canvas/source/tools/surfaceproxymanager.cxx +++ b/canvas/source/tools/surfaceproxymanager.cxx @@ -53,7 +53,7 @@ namespace canvas // not much to do for now, simply allocate a new surface // proxy from our internal pool and initialize this thing // properly. we *don't* create a hardware surface for now. - return SurfaceProxySharedPtr(new SurfaceProxy(pBuffer,mpPageManager)); + return std::shared_ptr<ISurfaceProxy>(new SurfaceProxy(pBuffer,mpPageManager)); } private: |