diff options
Diffstat (limited to 'um/service/include/libservice/service.hpp')
-rw-r--r-- | um/service/include/libservice/service.hpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/um/service/include/libservice/service.hpp b/um/service/include/libservice/service.hpp index 089f790..ca01ab4 100644 --- a/um/service/include/libservice/service.hpp +++ b/um/service/include/libservice/service.hpp @@ -61,13 +61,19 @@ namespace libservice Service(const Service&) = delete; }; - void swap(Service&, Service&) LIBSERVICE_NOEXCEPT; + inline void swap(Service& a, Service& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } } namespace std { template <> - void swap<libservice::Service>( - libservice::Service&, - libservice::Service&) LIBSERVICE_NOEXCEPT; + inline void swap<libservice::Service>( + libservice::Service& a, + libservice::Service& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } } |