diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-06-25 19:16:25 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-06-25 19:59:34 +0300 |
commit | 8ae25c7b5890aefd9dad96c1d700e5a1768fb638 (patch) | |
tree | dcce1135460f8bbe3eaf265f6cd8a068f524af4b /src/handle.hpp | |
parent | README update (diff) | |
download | privilege-check-8ae25c7b5890aefd9dad96c1d700e5a1768fb638.tar.gz privilege-check-8ae25c7b5890aefd9dad96c1d700e5a1768fb638.zip |
code style
Diffstat (limited to '')
-rw-r--r-- | src/handle.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/handle.hpp b/src/handle.hpp index 282e35d..99b5292 100644 --- a/src/handle.hpp +++ b/src/handle.hpp @@ -61,8 +61,14 @@ private: Handle(const Handle&) = delete; }; +inline void swap(Handle& a, Handle& b) noexcept +{ + a.swap(b); +} + namespace std { + template <> inline void swap(Handle& a, Handle& b) noexcept { a.swap(b); |