diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:38:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-16 18:44:21 +0300 |
commit | 1e5e37a9d1af571e962671db95b23c7cc7ddce6d (patch) | |
tree | e4b9900e7f4c1973fa4670f5d43a140bc551098a /include/winapi/pipe.hpp | |
parent | update cmake-common (diff) | |
download | winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.tar.gz winapi-common-1e5e37a9d1af571e962671db95b23c7cc7ddce6d.zip |
remove VS 2013 cruft
Diffstat (limited to '')
-rw-r--r-- | include/winapi/pipe.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/winapi/pipe.hpp b/include/winapi/pipe.hpp index 9f71858..aec87cd 100644 --- a/include/winapi/pipe.hpp +++ b/include/winapi/pipe.hpp @@ -7,8 +7,6 @@ #include "handle.hpp" -#include <boost/config.hpp> - #include <utility> namespace winapi { @@ -17,12 +15,6 @@ class Pipe { public: Pipe(); - // VS 2013 won't generate these automatically. - Pipe(Pipe&&) BOOST_NOEXCEPT_OR_NOTHROW; - Pipe& operator=(Pipe) BOOST_NOEXCEPT_OR_NOTHROW; - void swap(Pipe&) BOOST_NOEXCEPT_OR_NOTHROW; - Pipe(const Pipe&) = delete; - Handle& read_end() { return m_read_end; } const Handle& read_end() const { return m_read_end; } Handle& write_end() { return m_write_end; } @@ -33,17 +25,4 @@ private: Handle m_write_end; }; -inline void swap(Pipe& a, Pipe& b) BOOST_NOEXCEPT_OR_NOTHROW { - a.swap(b); -} - } // namespace winapi - -namespace std { - -template <> -inline void swap(winapi::Pipe& a, winapi::Pipe& b) BOOST_NOEXCEPT_OR_NOTHROW { - a.swap(b); -} - -} // namespace std |