Fix indentations.

Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24
main
Ken Wakasa 2012-01-06 12:24:38 +09:00
parent 3b161b2526
commit e12e9b5b69
8 changed files with 20 additions and 21 deletions

View File

@ -27,7 +27,6 @@ namespace latinime {
class ProximityInfo;
class Correction {
public:
typedef enum {
TRAVERSE_ALL_ON_TERMINAL,
@ -95,6 +94,7 @@ public:
inline int getTreeParentIndex(const int index) const {
return mCorrectionStates[index].mParentIndex;
}
private:
inline void incrementInputIndex();
inline void incrementOutputIndex();

View File

@ -28,9 +28,7 @@
namespace latinime {
class UnigramDictionary {
public:
// Mask and flags for children address type selection.
static const int MASK_GROUP_ADDRESS_TYPE = 0xC0;
static const int FLAG_GROUP_ADDRESS_TYPE_NOADDRESS = 0x00;
@ -84,7 +82,6 @@ public:
virtual ~UnigramDictionary();
private:
void getWordSuggestions(ProximityInfo *proximityInfo, const int *xcoordinates,
const int *ycoordinates, const int *codes, const int inputLength,
const int flags, Correction *correction, WordsPriorityQueuePool *queuePool);

View File

@ -126,6 +126,7 @@ public:
mSuggestions.pop();
}
}
private:
struct wordComparator {
bool operator ()(SuggestedWord * left, SuggestedWord * right) {

View File

@ -43,6 +43,7 @@ public:
WordsPriorityQueue* getSubQueue2() {
return mSubQueue2;
}
private:
WordsPriorityQueue *mMasterQueue;
WordsPriorityQueue *mSubQueue1;