aboutsummaryrefslogtreecommitdiff
path: root/utils/telldus-core/patches/940-cxx11.patch
blob: bad984fd24c51a8078469e19ea8aee1f350ae523 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- a/common/Event.h
+++ b/common/Event.h
@@ -9,7 +9,7 @@
 
 
 #ifndef _WINDOWS
-	#include <tr1/memory>
+	#include <memory>
 	typedef void* EVENT_T;
 #else
 	#include <windows.h>
@@ -32,7 +32,7 @@ namespace TelldusCore {
 		virtual bool isValid() const;
 	};
 
-	typedef std::tr1::shared_ptr<EventData> EventDataRef;
+	typedef std::shared_ptr<EventData> EventDataRef;
 
 	class EventBase {
 	public:
@@ -74,7 +74,7 @@ namespace TelldusCore {
 		friend class EventHandler;
 	};
 
-	typedef std::tr1::shared_ptr<Event> EventRef;
+	typedef std::shared_ptr<Event> EventRef;
 }
 
 #endif  // TELLDUS_CORE_COMMON_EVENT_H_