aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/service/src/device.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-01 15:34:26 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-01 15:34:26 +0300
commit309a2f9fbd82f5acdcd969dac089b06aa5ad86a6 (patch)
tree58f918a2786a1b2d4715a9535cf728edca35c1f0 /um/service/src/device.cpp
parentREADME updates (diff)
downloadwindows7-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.cpp17
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);
- }
}