Mercurial > octave-nkf
diff src/graphics.cc @ 8090:3cc1ca1b1576
MSVC compilation fix
author | Michael Goffioul |
---|---|
date | Mon, 08 Sep 2008 15:28:45 -0400 |
parents | b1634dd9ebe7 |
children | 86955a1559c5 |
line wrap: on
line diff
--- a/src/graphics.cc Mon Sep 08 15:21:44 2008 -0400 +++ b/src/graphics.cc Mon Sep 08 15:28:45 2008 -0400 @@ -1549,7 +1549,7 @@ { octave_value retval; - std::map<caseless_str, property>::const_iterator it = all_props.find (name); + std::map<caseless_str, property, cmp_caseless_str>::const_iterator it = all_props.find (name); if (it != all_props.end ()) retval = it->second.get (); @@ -1564,7 +1564,7 @@ { Octave_map m; - for (std::map<caseless_str, property>::const_iterator it = all_props.begin (); + for (std::map<caseless_str, property, cmp_caseless_str>::const_iterator it = all_props.begin (); it != all_props.end (); ++it) if (all || ! it->second.is_hidden ()) m.assign (it->second.get_name (), it->second.get ()); @@ -1575,7 +1575,7 @@ void base_properties::set_dynamic (const caseless_str& name, const octave_value& val) { - std::map<caseless_str, property>::iterator it = all_props.find (name); + std::map<caseless_str, property, cmp_caseless_str>::iterator it = all_props.find (name); if (it != all_props.end ()) it->second.set (val); @@ -1589,7 +1589,7 @@ property base_properties::get_property_dynamic (const caseless_str& name) { - std::map<caseless_str, property>::const_iterator it = all_props.find (name); + std::map<caseless_str, property, cmp_caseless_str>::const_iterator it = all_props.find (name); if (it == all_props.end ()) {