mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Remove two expressions which had no effect (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
c5aafd8f90
commit
fc2a376d8e
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user