diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-01 15:34:26 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-05-01 15:34:26 +0300 |
commit | 309a2f9fbd82f5acdcd969dac089b06aa5ad86a6 (patch) | |
tree | 58f918a2786a1b2d4715a9535cf728edca35c1f0 /um/service/src/device.cpp | |
parent | README updates (diff) | |
download | windows7-drivers-309a2f9fbd82f5acdcd969dac089b06aa5ad86a6.tar.gz windows7-drivers-309a2f9fbd82f5acdcd969dac089b06aa5ad86a6.zip |
service: code style
Diffstat (limited to 'um/service/src/device.cpp')
-rw-r--r-- | um/service/src/device.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/um/service/src/device.cpp b/um/service/src/device.cpp index 1bdb42f..f1ecccb 100644 --- a/um/service/src/device.cpp +++ b/um/service/src/device.cpp @@ -13,7 +13,6 @@ #include <stdexcept> #include <string> #include <system_error> -#include <utility> namespace libservice { @@ -117,20 +116,4 @@ namespace libservice return nbwritten; } - - void swap(Device& a, Device& b) LIBSERVICE_NOEXCEPT - { - a.swap(b); - } -} - -namespace std -{ - template <> - void swap<libservice::Device>( - libservice::Device& a, - libservice::Device& b) LIBSERVICE_NOEXCEPT - { - a.swap(b); - } } |