summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/thread.h b/thread.h
index cbe0e9c..210194f 100644
--- a/thread.h
+++ b/thread.h
@@ -1,9 +1,10 @@
#ifndef VDR_LIVE_THREAD_H
#define VDR_LIVE_THREAD_H
-#include "autoptr.h"
#include <vdr/thread.h>
+#include <memory>
+
namespace tnt { class Tntnet; }
namespace vdrlive {
@@ -19,7 +20,7 @@ protected:
virtual void Action();
private:
- AUTO_PTR< tnt::Tntnet > m_server;
+ std::unique_ptr< tnt::Tntnet > m_server;
};
} // namespace vdrlive