Support for clang.

[SVN r61640]
This commit is contained in:
Daniel James
2010-04-28 08:23:41 +00:00
parent ec97640b1b
commit 795d9f0aa7
6 changed files with 62 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ namespace test
node* ptr_;
public:
list_iterator() : ptr_(0) {};
list_iterator() : ptr_(0) {}
explicit list_iterator(node* x) : ptr_(x) {}
T& operator*() const { return ptr_->value_; }