mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 10:47:35 +02:00
Remove two expressions which had no effect (reported by LGTM)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
committed by
Victor Zverovich
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.
|
using _Unchecked_type = appender; // Mark iterator as checked.
|
||||||
|
|
||||||
auto operator++() -> appender& {
|
auto operator++() -> appender& {
|
||||||
base::operator++();
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto operator++(int) -> appender {
|
auto operator++(int) -> appender {
|
||||||
auto tmp = *this;
|
return *this;
|
||||||
++*this;
|
|
||||||
return tmp;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user