diff options
Diffstat (limited to 'utils/libservice/src/handle.cpp')
-rw-r--r-- | utils/libservice/src/handle.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/utils/libservice/src/handle.cpp b/utils/libservice/src/handle.cpp new file mode 100644 index 0000000..2f9a65f --- /dev/null +++ b/utils/libservice/src/handle.cpp @@ -0,0 +1,29 @@ +/** + * \file + * \author Egor Tensin <Egor.Tensin@gmail.com> + * \date 2015 + * \copyright This file is licensed under the terms of the MIT License. + * See LICENSE.txt for details. + */ + +#include "libservice/common.hpp" +#include "libservice/handle.hpp" + +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); + } +} |