mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Cleanup header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23221 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f658224e5c
commit
477366d8ee
@ -10,20 +10,15 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "WordList.h"
|
||||
|
||||
#include "support/convert.h"
|
||||
#include "support/debug.h"
|
||||
#include "support/docstring.h"
|
||||
#include "support/weighted_btree.h"
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
#include <support/convert.h>
|
||||
#include <support/debug.h>
|
||||
#include <support/docstring.h>
|
||||
#include <support/weighted_btree.h>
|
||||
|
||||
#include <WordList.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
|
||||
namespace lyx {
|
||||
|
||||
///
|
||||
@ -58,8 +53,7 @@ WordList::~WordList()
|
||||
|
||||
docstring const & WordList::word(size_t idx) const
|
||||
{
|
||||
Impl::Words::const_iterator it
|
||||
= d->words_.find_summed_weight(idx);
|
||||
Impl::Words::const_iterator it = d->words_.find_summed_weight(idx);
|
||||
BOOST_ASSERT(it != d->words_.end());
|
||||
return it->first;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user