summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-06 11:30:35 +0200
committerNoel Grandin <noel@peralex.com>2015-10-07 08:27:25 +0200
commit6d7353deb891b6cb49e98fec5de2ad0f1bc86c24 (patch)
tree54c67d1f30492b0e6eb48a676d2322080e6b1eac /canvas
parentb1b6f163d32f59fd5e750d5814cf04e8bf357907 (diff)
eliminate typedef only being used once
Change-Id: I1e54968a67f3edce3b2297ea1932d5b07e2da643
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/surfaceproxy.hxx2
-rw-r--r--canvas/source/tools/surfaceproxymanager.cxx2
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: