From 96c5a881b2768057f8189030b543fefa2835e782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Mon, 25 Oct 2010 21:13:20 +0200 Subject: Removing Shared.h. diff --git a/Swiften/Base/Shared.h b/Swiften/Base/Shared.h deleted file mode 100644 index 612fe5b..0000000 --- a/Swiften/Base/Shared.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#pragma once - -#include <boost/shared_ptr.hpp> - -namespace Swift { - template<typename T> - class Shared { - public: - typedef boost::shared_ptr<T> ref; - - template<typename X> - static boost::shared_ptr<T> cast(const X& from) { - return boost::dynamic_pointer_cast<T>(from); - } - }; -} -- cgit v0.10.2-6-g49f6