SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
lang/freehdl/patches/patch-v2cc_v2cc-explore_cc
Normal file
16
lang/freehdl/patches/patch-v2cc_v2cc-explore_cc
Normal file
|
@ -0,0 +1,16 @@
|
|||
the cast is needed because an iterator and a pointer are not exactly the
|
||||
same thing!
|
||||
|
||||
Index: v2cc/v2cc-explore.cc
|
||||
--- v2cc/v2cc-explore.cc.orig
|
||||
+++ v2cc/v2cc-explore.cc
|
||||
@@ -2798,8 +2798,7 @@ check_association(pIIR_AssociationList assoc_list, lis
|
||||
{
|
||||
// Add entries
|
||||
association_map [key].push_back (range_vector [j]);
|
||||
- // XXX - why is the cast needed?
|
||||
- association_type_map [key] = (vector<vector<pair<pIIR_Type, pIIR_Type > > >::iterator) &association_type_vectors [i];
|
||||
+ association_type_map [key] = association_type_vectors.begin() + i;
|
||||
// Generate a new key
|
||||
key.push_back (range_vector [j]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue