]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Prefix make_pair with std:: to avoid confusion about the role Koenig
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2002 09:45:27 +0000 (09:45 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 13 Feb 2002 09:45:27 +0000 (09:45 +0000)
lookup has here.

git-svn-id: https://svn.dealii.org/trunk@5515 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/parameter_handler.cc

index a6f71755e8492057bca106d24fa56af639e35a0d..06d34561927cac23c02a5e30bf84582cda626a8a 100644 (file)
@@ -553,7 +553,7 @@ bool ParameterHandler::declare_entry (const std::string           &entry,
   if (p->entries.find (entry) != p->entries.end())
     return false;
 
-  p->entries[entry] = make_pair(default_value, pattern.clone());
+  p->entries[entry] = std::make_pair(default_value, pattern.clone());
 
                                   // check whether default answer matches
                                   // the pattern
@@ -1017,8 +1017,8 @@ bool ParameterHandler::scan_line (std::string        line,
                                       // pointer, since we don't need the
                                       // pattern in the entries section -- only
                                       // in the defaults section)
-      pc->entries[entry_name] = make_pair(entry_value,
-                                         static_cast<Patterns::PatternBase*>(0));
+      pc->entries[entry_name]
+       = std::make_pair(entry_value, static_cast<Patterns::PatternBase*>(0));
 
       return true;
     };
@@ -1339,8 +1339,8 @@ void MultipleParameterLoop::fill_entry_values (const unsigned int run_no)
                                       // pointer, since we don't need the
                                       // pattern in the entries section -- only
                                       // in the defaults section)
-      pc->entries[choice->entry_name] = make_pair(entry_value,
-                                                 static_cast<Patterns::PatternBase*>(0));
+      pc->entries[choice->entry_name]
+       = std::make_pair(entry_value, static_cast<Patterns::PatternBase*>(0));
             
                                       // get out of subsection again
       subsection_path.swap (choice->subsection_path);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.