compil fix and cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19939 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-08-31 10:01:31 +00:00
parent b3d5000a64
commit 44e4909aba

View File

@ -10,20 +10,24 @@
*/
#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;
}