Skip to content

Commit

Permalink
Testing std::string_view
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Jan 21, 2021
1 parent 2da3018 commit 1ec847a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/serialization/string_view.hpp
Expand Up @@ -21,10 +21,12 @@ that class. */

#include <cstdint>

#include <string_view>

#include <boost/utility/string_view.hpp>

namespace utils
{
using string_view = boost::string_view;
using string_view = std::string_view;
using byte_string_view = boost::basic_string_view<uint8_t, std::char_traits<uint8_t>>;
} // namespace utils

0 comments on commit 1ec847a

Please sign in to comment.