From dbe1c9a63862c1e4b24611d210c20dde2c5ecf82 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Sun, 8 Oct 2017 12:05:13 +0200
Subject: [PATCH] fix variable shadowing

---
 alib2xml/src/abstraction/XmlContainerParserRegistry.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alib2xml/src/abstraction/XmlContainerParserRegistry.cpp b/alib2xml/src/abstraction/XmlContainerParserRegistry.cpp
index 4ae4f2f308..13bb83ee36 100644
--- a/alib2xml/src/abstraction/XmlContainerParserRegistry.cpp
+++ b/alib2xml/src/abstraction/XmlContainerParserRegistry.cpp
@@ -17,7 +17,7 @@ bool XmlContainerParserRegistry::hasAbstraction ( const std::string & container
 std::shared_ptr < abstraction::OperationAbstraction > XmlContainerParserRegistry::getAbstraction ( const std::string & container, const std::string & type ) {
 	std::set < std::string > paramTypes;
 	if ( alib::namingApi::hasTypes ( type ) )
-		paramTypes = ext::transform < std::string > ( alib::namingApi::getTypes ( type ), [ ] ( const ext::type_index & type ) { return ext::to_string ( type ); } );
+		paramTypes = ext::transform < std::string > ( alib::namingApi::getTypes ( type ), [ ] ( const ext::type_index & theType ) { return ext::to_string ( theType ); } );
 	else
 		paramTypes.insert ( type );
 
-- 
GitLab