summaryrefslogtreecommitdiff
blob: 356cdf19c6e7d919ab439619125fd13f904f2a68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- src/portage/mask_list.cc
+++ src/portage/mask_list.cc
@@ -61,7 +61,7 @@
 	}
 	bool had_mask(false);
 	bool had_unmask(false);
-	for(typename Get::const_iterator it(masks->begin());
+	for(Get::const_iterator it(masks->begin());
 		likely(it != masks->end()); ++it) {
 		it->checkMask(*p, check);
 		switch(it->get_type())
@@ -108,7 +108,7 @@
 	if(masks == NULL) {
 		return;
 	}
-	for(typename Get::const_iterator it(masks->begin());
+	for(Get::const_iterator it(masks->begin());
 		likely(it != masks->end()); ++it) {
 		it->apply(v, false, false, Keywords::RED_NOTHING);
 	}
@@ -129,7 +129,7 @@
 		if(masks == NULL) {
 			continue;
 		}
-		for(typename Get::const_iterator it(masks->begin());
+		for(Get::const_iterator it(masks->begin());
 			likely(it != masks->end()); ++it) {
 			it->applyVirtual(*p);
 		}
--- src/portage/mask_list.h
+++ src/portage/mask_list.h
@@ -211,7 +211,7 @@
 class PreListOrderEntry : public std::vector<std::string>
 {
 public:
-	typedef typename std::vector<std::string> super;
+	typedef std::vector<std::string> super;
 	typedef super::const_iterator const_iterator;
 	using super::begin;
 	using super::end;
@@ -243,8 +243,8 @@
 class PreList : public std::vector<PreListEntry>
 {
 public:
-	typedef typename std::vector<PreListEntry> super;
-	typedef typename super::const_iterator const_iterator;
+	typedef std::vector<PreListEntry> super;
+	typedef super::const_iterator const_iterator;
 	using super::begin;
 	using super::end;
 	using super::size;