mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
b3d5000a64
commit
44e4909aba
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user