summaryrefslogtreecommitdiff
path: root/implementation/endpoints/include/endpoint.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/endpoints/include/endpoint.hpp')
-rw-r--r--implementation/endpoints/include/endpoint.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/implementation/endpoints/include/endpoint.hpp b/implementation/endpoints/include/endpoint.hpp
index 452f92b..ccfe96b 100644
--- a/implementation/endpoints/include/endpoint.hpp
+++ b/implementation/endpoints/include/endpoint.hpp
@@ -22,7 +22,12 @@ public:
typedef std::function<void()> error_handler_t;
typedef std::function<void(const std::shared_ptr<endpoint>&, service_t)> prepare_stop_handler_t;
- virtual ~endpoint() {}
+ virtual ~endpoint()
+#ifndef ANDROID
+ {}
+#else
+ ;
+#endif
virtual void start() = 0;
virtual void prepare_stop(prepare_stop_handler_t _handler,