diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-10-14 11:54:05 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-10-14 11:54:05 +0300 |
commit | 78030b67b9cbc7b2c29f1d7aeaf3b9942bf94bb6 (patch) | |
tree | 23e25c5b60caf9642cda8a45872d86e52f9b00fb /storage/innobase/include | |
parent | 3d9b350a9cab7faaf718313c197ff868c4af3c6a (diff) | |
download | mariadb-git-78030b67b9cbc7b2c29f1d7aeaf3b9942bf94bb6.tar.gz |
Do not use C++11 before MariaDB 10.4
This fixes up 3d9b350a9cab7faaf718313c197ff868c4af3c6a
Diffstat (limited to 'storage/innobase/include')
-rw-r--r-- | storage/innobase/include/ut0lst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/include/ut0lst.h b/storage/innobase/include/ut0lst.h index fb15d6276f8..7b7ed7b8e80 100644 --- a/storage/innobase/include/ut0lst.h +++ b/storage/innobase/include/ut0lst.h @@ -475,7 +475,7 @@ void ut_list_validate(const List& list, Functor& functor) ut_list_map(list, functor); #ifdef UNIV_DEBUG /* Validate the list backwards. */ - auto count = list.count; + ulint count = list.count; for (typename List::elem_type* elem = list.end; elem != 0; @@ -495,7 +495,7 @@ inline void ut_list_validate(const List& list, const Functor& functor) ut_list_map(list, functor); #ifdef UNIV_DEBUG /* Validate the list backwards. */ - auto count = list.count; + ulint count = list.count; for (typename List::elem_type* elem = list.end; elem != 0; |