]> git.lyx.org Git - features.git/commitdiff
compil fix and cosmetics.
authorAbdelrazak Younes <younes@lyx.org>
Fri, 31 Aug 2007 10:01:31 +0000 (10:01 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Fri, 31 Aug 2007 10:01:31 +0000 (10:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19939 a592a061-630c-0410-9148-cb99ea01b6c8

src/ModuleList.cpp

index 1095cb60a8b5a278188063b8c975a81560a78602..ae7acb338392d667a76a42cdbf0e6e2ea0d4c7db 100644 (file)
  */
 
 #include <config.h>
+
 #include "debug.h"
 #include "Lexer.h"
 #include "ModuleList.h"
+
 #include "support/docstring.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 
+#include <algorithm>
        
-namespace lyx{
-
+using std::endl;
 using std::map;
 using std::string;
 using std::vector;
-using std::endl;
+
+namespace lyx{
+
 using support::FileName;
 using support::libFileSearch;
 using support::makeDisplayPath;
@@ -116,7 +120,7 @@ bool ModuleList::load() {
        LYXERR(Debug::TCLASS) << "End of parsing of lyxmodules.lst" << endl;
 
        if (!moduleList.empty())
-               sort(moduleList.begin(), moduleList.end(), moduleSorter());
+               std::sort(moduleList.begin(), moduleList.end(), moduleSorter());
        return true;
 }