summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-11-11 22:17:10 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-11-11 22:17:10 (GMT)
commit4f0feab0c23284f419270b3d82e04038277a0d91 (patch)
tree346c4f84d84baf3681d7cfbbb0042af79c463f9b /Swiften/EventLoop/Deleter.h
parentc81f60d353e61f91d8923514dedbce8a0b61c2df (diff)
downloadswift-contrib-4f0feab0c23284f419270b3d82e04038277a0d91.zip
swift-contrib-4f0feab0c23284f419270b3d82e04038277a0d91.tar.bz2
Removed obsolete class.
Diffstat (limited to 'Swiften/EventLoop/Deleter.h')
-rw-r--r--Swiften/EventLoop/Deleter.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/Swiften/EventLoop/Deleter.h b/Swiften/EventLoop/Deleter.h
deleted file mode 100644
index f490883..0000000
--- a/Swiften/EventLoop/Deleter.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2010 Remko Tronçon
- * Licensed under the GNU General Public License v3.
- * See Documentation/Licenses/GPLv3.txt for more information.
- */
-
-#ifndef SWIFTEN_Deleter_H
-#define SWIFTEN_Deleter_H
-
-#include <cassert>
-
-namespace Swift {
- template<typename T>
- class Deleter {
- public:
- Deleter(T* object) : object_(object) {
- }
-
- void operator()() {
- assert(object_);
- delete object_;
- object_ = 0;
- }
-
- private:
- T* object_;
- };
-}
-#endif