Commit 78030b67 authored by Marko Mäkelä's avatar Marko Mäkelä

Do not use C++11 before MariaDB 10.4

This fixes up 3d9b350a
parent 3d9b350a
...@@ -475,7 +475,7 @@ void ut_list_validate(const List& list, Functor& functor) ...@@ -475,7 +475,7 @@ void ut_list_validate(const List& list, Functor& functor)
ut_list_map(list, functor); ut_list_map(list, functor);
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
/* Validate the list backwards. */ /* Validate the list backwards. */
auto count = list.count; ulint count = list.count;
for (typename List::elem_type* elem = list.end; for (typename List::elem_type* elem = list.end;
elem != 0; elem != 0;
...@@ -495,7 +495,7 @@ inline void ut_list_validate(const List& list, const Functor& functor) ...@@ -495,7 +495,7 @@ inline void ut_list_validate(const List& list, const Functor& functor)
ut_list_map(list, functor); ut_list_map(list, functor);
#ifdef UNIV_DEBUG #ifdef UNIV_DEBUG
/* Validate the list backwards. */ /* Validate the list backwards. */
auto count = list.count; ulint count = list.count;
for (typename List::elem_type* elem = list.end; for (typename List::elem_type* elem = list.end;
elem != 0; elem != 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment