Skip to content

Commit

Permalink
Attempt to fix build with GCC 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Nov 19, 2017
1 parent 6af2c1f commit ac8a69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialization/string_view.hpp
Expand Up @@ -127,7 +127,7 @@ class basic_string_view {
// element access
BOOST_CONSTEXPR const_reference operator[](size_type pos) const BOOST_NOEXCEPT { return ptr_[pos]; }

BOOST_CONSTEXPR const_reference at(size_t pos) const {
const_reference at(size_t pos) const {
return pos >= len_ ? BOOST_THROW_EXCEPTION(std::out_of_range("boost::string_view::at")), ptr_[0] : ptr_[pos];
}

Expand Down

0 comments on commit ac8a69c

Please sign in to comment.