@@ -139,7 +139,7 @@ namespace std{
public:
typedef Iterator iterator_type;
- reverse_iterator() : current(){};
+ reverse_iterator() : current(){}
explicit reverse_iterator(Iterator x) : current(x) { }
template<class U> reverse_iterator(const reverse_iterator<U> &x) : current(x.base()){}
@@ -225,7 +225,7 @@ namespace std{
Container& container;
public:
typedef Container container_type;
- explicit back_insert_iterator(Container& x):container(x) {};
+ explicit back_insert_iterator(Container& x):container(x) {}
back_insert_iterator<Container>& operator=(const typename Container::value_type& value){
container.push_back(value);
return *this;
@@ -34,7 +34,7 @@ namespace std{
typedef typename Container::size_type size_type;
typedef Container container_type;
- explicit stack(const Container& a = Container()) : c(a) { };
+ explicit stack(const Container& a = Container()) : c(a) { }
bool empty() const { return c.empty(); }
size_type size() const { return c.size(); }
value_type& top() { return c.back(); }
Discovered with clang's -Wextra-semi Signed-off-by: Rosen Penev <rosenp@gmail.com> --- include/iterator_base | 4 ++-- include/stack | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)