diff options
Diffstat (limited to 'um/libservice/src/service_handle.cpp')
-rw-r--r-- | um/libservice/src/service_handle.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/um/libservice/src/service_handle.cpp b/um/libservice/src/service_handle.cpp new file mode 100644 index 0000000..adce7f0 --- /dev/null +++ b/um/libservice/src/service_handle.cpp @@ -0,0 +1,27 @@ +// Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com> +// This file is part of the "Windows 7 drivers" project. +// For details, see https://github.com/egor-tensin/windows7-drivers. +// Distributed under the MIT License. + +#include "libservice/all.hpp" + +#include <utility> + +namespace libservice +{ + void swap(ServiceHandle& a, ServiceHandle& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } +} + +namespace std +{ + template <> + void swap<libservice::ServiceHandle>( + libservice::ServiceHandle& a, + libservice::ServiceHandle& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } +} |