aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service/include/libservice/handle.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'um/service/include/libservice/handle.hpp')
-rw-r--r--um/service/include/libservice/handle.hpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/um/service/include/libservice/handle.hpp b/um/service/include/libservice/handle.hpp
index 5e351d2..abd1d5a 100644
--- a/um/service/include/libservice/handle.hpp
+++ b/um/service/include/libservice/handle.hpp
@@ -65,13 +65,19 @@ namespace libservice
Handle(const Handle&) = delete;
};
- void swap(Handle& a, Handle& b) LIBSERVICE_NOEXCEPT;
+ inline void swap(Handle& a, Handle& b) LIBSERVICE_NOEXCEPT
+ {
+ a.swap(b);
+ }
}
namespace std
{
template <>
- void swap<libservice::Handle>(
+ inline void swap<libservice::Handle>(
libservice::Handle& a,
- libservice::Handle& b) LIBSERVICE_NOEXCEPT;
+ libservice::Handle& b) LIBSERVICE_NOEXCEPT
+ {
+ a.swap(b);
+ }
}