Revert "cxx: Fix some warnings from -Wextra"
This reverts commit bdb8505f3b
.
more review pending on this
This commit is contained in:
parent
bdb8505f3b
commit
9dc7643f93
|
@ -107,21 +107,6 @@ struct _inlist_iterator
|
|||
_inlist_iterator(_inlist_iterator<typename std::remove_const<T>::type> const& other)
|
||||
: _list(other._list), _node(other._node) {}
|
||||
|
||||
/**
|
||||
* @brief Copy assignment operator.
|
||||
* @param other Other iterator being copied
|
||||
* @return Copy of the iterator
|
||||
*/
|
||||
_inlist_iterator<T> & operator=(_inlist_iterator<typename std::remove_const<T>::type> const& other)
|
||||
{
|
||||
if (this != &other)
|
||||
{
|
||||
_list = other._list;
|
||||
_node = other._node;
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Move the iterator to the next position in the list.
|
||||
* @return The iterator itself.
|
||||
|
|
|
@ -50,12 +50,6 @@ struct _ptr_array_iterator
|
|||
: _ptr(other._ptr)
|
||||
{
|
||||
}
|
||||
_ptr_array_iterator<T>& operator=(_ptr_array_iterator<typename remove_cv<value_type>::type> const& other)
|
||||
{
|
||||
if (this != &other)
|
||||
_ptr = other._ptr;
|
||||
return *this;
|
||||
}
|
||||
_ptr_array_iterator<T>& operator++()
|
||||
{
|
||||
++_ptr;
|
||||
|
|
|
@ -67,13 +67,6 @@ struct _ptr_list_iterator : _ptr_list_iterator_base
|
|||
{
|
||||
}
|
||||
|
||||
_ptr_list_iterator<value_type>& operator=(_ptr_list_iterator<value_type> const &other)
|
||||
{
|
||||
if (this != &other)
|
||||
_ptr_list_iterator_base::operator=(other);
|
||||
return *this;
|
||||
}
|
||||
|
||||
_ptr_list_iterator<T>& operator++()
|
||||
{
|
||||
_node = eina_list_next(_node);
|
||||
|
|
|
@ -26,8 +26,7 @@ struct html_escaped_string_generator
|
|||
case '\'': out.append("'"); break;
|
||||
case '<': out.append("<"); break;
|
||||
case '>': out.append(">"); break;
|
||||
case '\\': if (pos < input.size() - 1) pos++;
|
||||
// fall through
|
||||
case '\\': if (pos < input.size() - 1) pos++; // Deliberate fallthrough
|
||||
default: out.append(&input[pos], 1); break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -492,7 +492,7 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
|
|||
complex.subtypes.push_back({stp
|
||||
, unit
|
||||
, ::eolian_type_c_type_get(stp)
|
||||
, (bool)eolian_type_is_move(stp)
|
||||
, eolian_type_is_move(stp)
|
||||
, is_by::value});
|
||||
stp = eolian_type_next_type_get(stp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue