From: Greg Farnum Date: Wed, 12 Mar 2014 20:56:42 +0000 (-0700) Subject: include/memory: add static_pointer_cast X-Git-Tag: v0.80-rc1~84^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fd235cddf1bb85f281bce6b13d8fdf66bf331938;p=ceph.git include/memory: add static_pointer_cast Signed-off-by: Greg Farnum --- diff --git a/src/include/memory.h b/src/include/memory.h index ee28d695a39a..596627c9efb7 100644 --- a/src/include/memory.h +++ b/src/include/memory.h @@ -10,6 +10,7 @@ namespace ceph { using std::shared_ptr; using std::weak_ptr; + using std::static_pointer_cast; } #else @@ -19,6 +20,7 @@ namespace ceph { namespace ceph { using std::tr1::shared_ptr; using std::tr1::weak_ptr; + using std::tr1::static_pointer_cast; } #endif