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