summaryrefslogtreecommitdiff
path: root/storage/innobase/include
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include')
-rw-r--r--storage/innobase/include/span.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/include/span.h b/storage/innobase/include/span.h
index 3a056baee4d..3857f591123 100644
--- a/storage/innobase/include/span.h
+++ b/storage/innobase/include/span.h
@@ -20,12 +20,13 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <cstddef>
#include <iterator>
+#include <type_traits>
namespace st_ {
template <class ElementType> class span {
public:
- typedef ElementType element_type;
+ using element_type = typename std::remove_cv<ElementType>::type;
typedef ElementType value_type;
typedef size_t index_type;
typedef ptrdiff_t difference_type;