Fix -Wshadow warning
This commit is contained in:
parent
7135f4ddb1
commit
bb1e4c31a3
|
@ -17318,7 +17318,7 @@ namespace exprtk
|
||||||
(symbol_name, v, is_const);
|
(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
|
struct tie
|
||||||
{
|
{
|
||||||
|
@ -17354,7 +17354,7 @@ namespace exprtk
|
||||||
|
|
||||||
if (map.end() == itr)
|
if (map.end() == itr)
|
||||||
{
|
{
|
||||||
map[symbol_name] = tie::make(t,is_const);
|
map[symbol_name] = tie::make(t2,is_const2);
|
||||||
++size;
|
++size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue