More clean-ups and cool template stuff
[invirt/third/libt4.git] / lock.h
diff --git a/lock.h b/lock.h
index 1789ec3..1d62c39 100644 (file)
--- a/lock.h
+++ b/lock.h
@@ -8,13 +8,4 @@ using std::mutex;
 using lock = std::unique_lock<std::mutex>;
 using cond = std::condition_variable;
 
-class adopt_lock : public lock {
-public:
-    explicit inline adopt_lock(class mutex &m) : std::unique_lock<std::mutex>(m, std::adopt_lock) {
-    }
-    inline ~adopt_lock() {
-        release();
-    }
-};
-
 #endif