summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/EventLoop/Deleter.h')
m---------Swiften0
-rw-r--r--Swiften/EventLoop/Deleter.h23
2 files changed, 0 insertions, 23 deletions
diff --git a/Swiften b/Swiften
new file mode 160000
+Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c
diff --git a/Swiften/EventLoop/Deleter.h b/Swiften/EventLoop/Deleter.h
deleted file mode 100644
index 217a17f..0000000
--- a/Swiften/EventLoop/Deleter.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#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