Update services/epgsearch.h

This commit is contained in:
kamel5 2019-04-07 18:27:53 +02:00
parent d825d700eb
commit 56250e3af8

View File

@ -154,7 +154,11 @@ public:
struct Epgsearch_services_v1_0 { struct Epgsearch_services_v1_0 {
// in/out // in/out
#if __cplusplus < 201103L
std::auto_ptr<cServiceHandler> handler;
#else
std::unique_ptr<cServiceHandler> handler; std::unique_ptr<cServiceHandler> handler;
#endif
}; };
// Data structures for service "Epgsearch-services-v1.1" // Data structures for service "Epgsearch-services-v1.1"
@ -169,7 +173,11 @@ public:
struct Epgsearch_services_v1_1 { struct Epgsearch_services_v1_1 {
// in/out // in/out
#if __cplusplus < 201103L
std::auto_ptr<cServiceHandler> handler;
#else
std::unique_ptr<cServiceHandler_v1_1> handler; std::unique_ptr<cServiceHandler_v1_1> handler;
#endif
}; };
// Data structures for service "Epgsearch-services-v1.2" // Data structures for service "Epgsearch-services-v1.2"
@ -184,7 +192,11 @@ public:
struct Epgsearch_services_v1_2 { struct Epgsearch_services_v1_2 {
// in/out // in/out
#if __cplusplus < 201103L
std::auto_ptr<cServiceHandler> handler;
#else
std::unique_ptr<cServiceHandler_v1_2> handler; std::unique_ptr<cServiceHandler_v1_2> handler;
#endif
}; };
#endif #endif