diff --git a/Lib/java/std_list.i b/Lib/java/std_list.i index 35f0ecac8..0dde17371 100644 --- a/Lib/java/std_list.i +++ b/Lib/java/std_list.i @@ -20,8 +20,7 @@ namespace std { template class list { public: - // This typedef is a weird hack to make stuff work - typedef std::list::iterator iterator; + struct iterator; typedef size_t size_type; typedef T value_type; typedef T& reference;