[gnome-commander] Dropped superfluous 'std' namespace specifier



commit 4c4fe8046100e66f059cd93ae70a49b7692d6c8f
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sun Jun 6 18:26:10 2010 +0200

    Dropped superfluous 'std' namespace specifier

 src/gnome-cmd-data.cc              |    6 +++---
 src/gnome-cmd-file-props-dialog.cc |    4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 115a527..300f7a3 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1957,7 +1957,7 @@ XML::xstream &operator << (XML::xstream &xml, GnomeCmdData::AdvrenameConfig &cfg
                                        << XML::attr("width") << cfg.default_profile.counter_width << XML::endtag();
 
             xml << XML::tag("Regexes");
-            for (std::vector<GnomeCmd::ReplacePattern>::const_iterator r=cfg.default_profile.regexes.begin(); r!=cfg.default_profile.regexes.end(); ++r)
+            for (vector<GnomeCmd::ReplacePattern>::const_iterator r=cfg.default_profile.regexes.begin(); r!=cfg.default_profile.regexes.end(); ++r)
             {
                 xml << XML::tag("Regex") << XML::attr("pattern") << XML::escape(r->pattern);
                 xml << XML::attr("replace") << XML::escape(r->replacement) << XML::attr("match-case") << r->match_case << XML::endtag();
@@ -1969,7 +1969,7 @@ XML::xstream &operator << (XML::xstream &xml, GnomeCmdData::AdvrenameConfig &cfg
 
         xml << XML::endtag();
 
-        for (std::vector<GnomeCmdData::AdvrenameConfig::Profile>::const_iterator p=cfg.profiles.begin(); p!=cfg.profiles.end(); ++p)
+        for (vector<GnomeCmdData::AdvrenameConfig::Profile>::const_iterator p=cfg.profiles.begin(); p!=cfg.profiles.end(); ++p)
         {
             xml << XML::tag("Profile") << XML::attr("name") << p->name;
                 xml << XML::tag("Template") << XML::chardata() << XML::escape(p->template_string.empty() ? "$N" : p->template_string) << XML::endtag();
@@ -1977,7 +1977,7 @@ XML::xstream &operator << (XML::xstream &xml, GnomeCmdData::AdvrenameConfig &cfg
                                            << XML::attr("step") << p->counter_step
                                            << XML::attr("width") << p->counter_width << XML::endtag();
                 xml << XML::tag("Regexes");
-                for (std::vector<GnomeCmd::ReplacePattern>::const_iterator r=p->regexes.begin(); r!=p->regexes.end(); ++r)
+                for (vector<GnomeCmd::ReplacePattern>::const_iterator r=p->regexes.begin(); r!=p->regexes.end(); ++r)
                 {
                     xml << XML::tag("Regex") << XML::attr("pattern") << XML::escape(r->pattern);
                     xml << XML::attr("replace") << XML::escape(r->replacement) << XML::attr("match-case") << r->match_case << XML::endtag();
diff --git a/src/gnome-cmd-file-props-dialog.cc b/src/gnome-cmd-file-props-dialog.cc
index 6a4c8d4..b32ffb5 100644
--- a/src/gnome-cmd-file-props-dialog.cc
+++ b/src/gnome-cmd-file-props-dialog.cc
@@ -270,7 +270,7 @@ static void on_copy_clipboard (GtkButton *button, GnomeCmdFilePropsDialogPrivate
     string s;
 
     for (GnomeCmdFileMetadata::METADATA_COLL::const_iterator i=data->f->metadata->begin(); i!=data->f->metadata->end(); ++i)
-        for (set<std::string>::const_iterator j=i->second.begin(); j!=i->second.end(); ++j)
+        for (set<string>::const_iterator j=i->second.begin(); j!=i->second.end(); ++j)
         {
             s += gcmd_tags_get_name(i->first);
             s += '\t';
@@ -611,7 +611,7 @@ static GtkTreeModel *create_and_fill_model (GnomeCmdFile *f)
                                 -1);
         }
 
-        for (set<std::string>::const_iterator j=i->second.begin(); j!=i->second.end(); ++j)
+        for (set<string>::const_iterator j=i->second.begin(); j!=i->second.end(); ++j)
         {
             GtkTreeIter child;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]