aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/utils/libservice/src/handle.cpp
blob: 2f9a65fe2b8310eb346e126e910d35eaef3c1066 (plain) (tree)




























                                                                       
/**
 * \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);
    }
}