diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-04-11 14:09:48 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-04-11 14:09:48 +0300 |
commit | 487b9a266f9a2d5e81902fde842c41cbd53f1ce4 (patch) | |
tree | aaf7fed1f6d2b30b0ee7c25cc81bf608e336b7f0 /include/afio/v2.0/config.hpp | |
parent | ed04b40b799d1cb2b4c1787b9a1089050e3c89ae (diff) |
Convert AFIO over to use std::byte for buffers instead of char.
Diffstat (limited to 'include/afio/v2.0/config.hpp')
-rw-r--r-- | include/afio/v2.0/config.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/afio/v2.0/config.hpp b/include/afio/v2.0/config.hpp index fa8589d1..ff1817d7 100644 --- a/include/afio/v2.0/config.hpp +++ b/include/afio/v2.0/config.hpp @@ -306,6 +306,12 @@ AFIO_V2_NAMESPACE_END AFIO_V2_NAMESPACE_BEGIN using namespace QUICKCPPLIB_NAMESPACE::optional; AFIO_V2_NAMESPACE_END +// Bring in a byte implementation +#include "quickcpplib/include/byte.hpp" +AFIO_V2_NAMESPACE_BEGIN +using QUICKCPPLIB_NAMESPACE::byte::byte; +using QUICKCPPLIB_NAMESPACE::byte::to_byte; +AFIO_V2_NAMESPACE_END // Bring in a string_view implementation #include "quickcpplib/include/string_view.hpp" AFIO_V2_NAMESPACE_BEGIN |