Supply missing #include. Rewrite typedef tests to avoid GCC warnings.

This commit is contained in:
Beman
2015-07-15 16:15:23 -04:00
parent 270a6c39b5
commit 904e2c3c81
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -27,6 +27,7 @@
#include <algorithm>
#include <iterator>
#include <string>
#include <cstring>
#include <iosfwd>
namespace boost {
@@ -129,7 +130,7 @@ namespace boost {
len_ -= n;
}
BOOST_CONSTEXPR void swap(basic_string_view& s) BOOST_NOEXCEPT {
/*BOOST_CONSTEXPR*/ void swap(basic_string_view& s) BOOST_NOEXCEPT {
std::swap(ptr_, s.ptr_);
std::swap(len_, s.len_);
}