aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/handle.hpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-16 17:37:09 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-16 21:08:10 +0300
commit38a76bafce303d211043fd118119c9431cdbe932 (patch)
treefa03ed49dff2ad8b50dae8eff48f12291b0c320e /include/winapi/handle.hpp
parentVS 2013 workarounds (diff)
downloadwinapi-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.hpp5
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;