diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-16 17:37:09 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-16 21:08:10 +0300 |
commit | 38a76bafce303d211043fd118119c9431cdbe932 (patch) | |
tree | fa03ed49dff2ad8b50dae8eff48f12291b0c320e /include/winapi/handle.hpp | |
parent | VS 2013 workarounds (diff) | |
download | winapi-common-38a76bafce303d211043fd118119c9431cdbe932.tar.gz winapi-common-38a76bafce303d211043fd118119c9431cdbe932.zip |
add a separate Buffer class
Diffstat (limited to 'include/winapi/handle.hpp')
-rw-r--r-- | include/winapi/handle.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/winapi/handle.hpp b/include/winapi/handle.hpp index af37424..5f813bc 100644 --- a/include/winapi/handle.hpp +++ b/include/winapi/handle.hpp @@ -5,6 +5,8 @@ #pragma once +#include "buffer.hpp" + #include <boost/config.hpp> #include <windows.h> @@ -12,7 +14,6 @@ #include <cstddef> #include <memory> #include <utility> -#include <vector> namespace winapi { @@ -37,8 +38,6 @@ public: static Handle std_out(); static Handle std_err(); - typedef std::vector<unsigned char> Buffer; - Buffer read() const; BOOST_STATIC_CONSTEXPR std::size_t max_chunk_size = 16 * 1024; |