| Anonymous | Login | Signup for a new account | 11-10-2008 11:08 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001116 | [uClibc++] Other | trivial | always | 12-13-06 02:06 | 12-14-06 18:03 | ||||
| Reporter | peter_schueller | View Status | public | ||||||
| Assigned To | gkajmowi | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | resolved | Product Version | 0.2.0 | ||||||
| Summary | 0001116: unused parameter warning in map | ||||||||
| Description | one of the insert methods of map has an unused parameter warning | ||||||||
| Additional Information |
patch: Index: include/map =================================================================== --- include/map (revision 1816) +++ include/map (revision 1817) @@ -627,9 +627,10 @@ template <class Key, class T, class Compare, class Allocator> typename map<Key, T, Compare, Allocator>::iterator - map<Key, T, Compare, Allocator>::insert(iterator position, const value_type& x) + map<Key, T, Compare, Allocator>::insert(iterator, const value_type& x) { - //Just reusing code. It's hard to make improvements over existing algo. + // Just reusing code. It's hard to make improvements over existing algo. + // We're not using the iterator parameter, but it's just a hint anyway insert(x); return find(x.first); } |
||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001865) gkajmowi 12-14-06 18:03 |
Fixed in SVN. I've applied the fix suggested to this problem. |
| Copyright © 2000 - 2006 Mantis Group |