mirror of
https://github.com/ArashPartow/exprtk.git
synced 2025-07-08 03:09:03 +00:00
Fix -Wshadow warning
This commit is contained in:
@ -17318,7 +17318,7 @@ namespace exprtk
|
||||
(symbol_name, v, is_const);
|
||||
}
|
||||
|
||||
inline bool add(const std::string& symbol_name, RawType& t, const bool is_const = false)
|
||||
inline bool add(const std::string& symbol_name, RawType& t2, const bool is_const2 = false)
|
||||
{
|
||||
struct tie
|
||||
{
|
||||
@ -17354,7 +17354,7 @@ namespace exprtk
|
||||
|
||||
if (map.end() == itr)
|
||||
{
|
||||
map[symbol_name] = tie::make(t,is_const);
|
||||
map[symbol_name] = tie::make(t2,is_const2);
|
||||
++size;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user