diff options
Diffstat (limited to 'um/service/src/handle.cpp')
-rw-r--r-- | um/service/src/handle.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/um/service/src/handle.cpp b/um/service/src/handle.cpp new file mode 100644 index 0000000..7567781 --- /dev/null +++ b/um/service/src/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(Handle& a, Handle& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } +} + +namespace std +{ + template <> + void swap<libservice::Handle>( + libservice::Handle& a, + libservice::Handle& b) LIBSERVICE_NOEXCEPT + { + a.swap(b); + } +} |