@@ -1932,7 +1932,7 @@ class Table
1932
1932
}
1933
1933
1934
1934
template <typename ... Args>
1935
- iterator emplace_hint (const_iterator position, Args &&... args)
1935
+ iterator emplace_hint (const const_iterator & position, Args &&... args)
1936
1936
{
1937
1937
(void )position;
1938
1938
return emplace (std::forward<Args>(args)...).first ;
@@ -1951,14 +1951,14 @@ class Table
1951
1951
}
1952
1952
1953
1953
template <typename ... Args>
1954
- iterator try_emplace (const_iterator hint, const key_type & key, Args &&... args)
1954
+ iterator try_emplace (const const_iterator & hint, const key_type & key, Args &&... args)
1955
1955
{
1956
1956
(void )hint;
1957
1957
return try_emplace_impl (key, std::forward<Args>(args)...).first ;
1958
1958
}
1959
1959
1960
1960
template <typename ... Args>
1961
- iterator try_emplace (const_iterator hint, key_type && key, Args &&... args)
1961
+ iterator try_emplace (const const_iterator & hint, key_type && key, Args &&... args)
1962
1962
{
1963
1963
(void )hint;
1964
1964
return try_emplace_impl (std::move (key), std::forward<Args>(args)...).first ;
@@ -1977,14 +1977,14 @@ class Table
1977
1977
}
1978
1978
1979
1979
template <typename Mapped>
1980
- iterator insert_or_assign (const_iterator hint, const key_type & key, Mapped && obj)
1980
+ iterator insert_or_assign (const const_iterator & hint, const key_type & key, Mapped && obj)
1981
1981
{
1982
1982
(void )hint;
1983
1983
return insertOrAssignImpl (key, std::forward<Mapped>(obj)).first ;
1984
1984
}
1985
1985
1986
1986
template <typename Mapped>
1987
- iterator insert_or_assign (const_iterator hint, key_type && key, Mapped && obj)
1987
+ iterator insert_or_assign (const const_iterator & hint, key_type && key, Mapped && obj)
1988
1988
{
1989
1989
(void )hint;
1990
1990
return insertOrAssignImpl (std::move (key), std::forward<Mapped>(obj)).first ;
@@ -1996,15 +1996,15 @@ class Table
1996
1996
return emplace (keyval);
1997
1997
}
1998
1998
1999
- iterator insert (const_iterator hint, const value_type & keyval)
1999
+ iterator insert (const const_iterator & hint, const value_type & keyval)
2000
2000
{
2001
2001
(void )hint;
2002
2002
return emplace (keyval).first ;
2003
2003
}
2004
2004
2005
2005
std::pair<iterator, bool > insert (value_type && keyval) { return emplace (std::move (keyval)); }
2006
2006
2007
- iterator insert (const_iterator hint, value_type && keyval)
2007
+ iterator insert (const const_iterator & hint, value_type && keyval)
2008
2008
{
2009
2009
(void )hint;
2010
2010
return emplace (std::move (keyval)).first ;
0 commit comments