diff options
author | Jose <jose@zeroc.com> | 2021-12-29 10:45:43 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2021-12-29 12:09:29 +0100 |
commit | 72dcb8749be9494563e035087d7a11c58d7458e1 (patch) | |
tree | adb351d6ca284a0e9210d102cd2ed8b063ac6137 /cpp/src/Slice/Parser.cpp | |
parent | Fixes for C++98 mapping build with C++17 mode or greater (diff) | |
download | ice-72dcb8749be9494563e035087d7a11c58d7458e1.tar.bz2 ice-72dcb8749be9494563e035087d7a11c58d7458e1.tar.xz ice-72dcb8749be9494563e035087d7a11c58d7458e1.zip |
Don't use auto with lambda methods
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 81b840c43b5..814066e058a 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -1108,7 +1108,7 @@ void Slice::Container::destroy() { #ifdef ICE_CPP11_COMPILER - for_each(_contents.begin(), _contents.end(), [](const auto& it) { it->destroy(); }); + for_each(_contents.begin(), _contents.end(), [](const SyntaxTreeBasePtr& it) { it->destroy(); }); #else for_each(_contents.begin(), _contents.end(), ::IceUtil::voidMemFun(&SyntaxTreeBase::destroy)); #endif |