Remove two expressions which had no effect (reported by LGTM)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2021-12-22 21:45:04 +01:00 committed by Victor Zverovich
parent c5aafd8f90
commit fc2a376d8e

View File

@ -1500,14 +1500,11 @@ class appender : public std::back_insert_iterator<detail::buffer<char>> {
using _Unchecked_type = appender; // Mark iterator as checked.
auto operator++() -> appender& {
base::operator++();
return *this;
}
auto operator++(int) -> appender {
auto tmp = *this;
++*this;
return tmp;
return *this;
}
};