diff options
author | Johann Friedrichs <johann.friedrichs@web.de> | 2019-04-08 16:14:50 +0200 |
---|---|---|
committer | Johann Friedrichs <johann.friedrichs@web.de> | 2019-04-08 16:14:50 +0200 |
commit | b9fa4f6bb61ccd58c94a7c0a222fd91bea4b5341 (patch) | |
tree | 79c1a417fa621509db92205acd34fe50e9359686 /services.h | |
parent | acbe3cf6a3ca6a5287da7d732264a7bb52e03673 (diff) | |
download | vdr-plugin-epgsearch-b9fa4f6bb61ccd58c94a7c0a222fd91bea4b5341.tar.gz vdr-plugin-epgsearch-b9fa4f6bb61ccd58c94a7c0a222fd91bea4b5341.tar.bz2 |
Replace auto_ptr with unique_ptr (only for c++11) (vdr-portal: kfb77)
Diffstat (limited to 'services.h')
-rw-r--r-- | services.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -154,7 +154,11 @@ public: struct Epgsearch_services_v1_0 { // in/out +#if __cplusplus < 201103L std::auto_ptr<cServiceHandler> handler; +#else + std::unique_ptr<cServiceHandler> handler; +#endif }; // Data structures for service "Epgsearch-services-v1.1" @@ -169,7 +173,11 @@ public: struct Epgsearch_services_v1_1 { // in/out +#if __cplusplus < 201103L std::auto_ptr<cServiceHandler_v1_1> handler; +#else + std::unique_ptr<cServiceHandler_v1_1> handler; +#endif }; // Data structures for service "Epgsearch-services-v1.2" @@ -184,7 +192,11 @@ public: struct Epgsearch_services_v1_2 { // in/out +#if __cplusplus < 201103L std::auto_ptr<cServiceHandler_v1_2> handler; +#else + std::unique_ptr<cServiceHandler_v1_2> handler; +#endif }; #endif |