Change LLPreeditor::standouts_t to std::deque since std::vector<bool> since it's a specialization that does not necessarily behave like standard STL containers
parent
321f283032
commit
5486d87b56
|
|
@ -2590,7 +2590,7 @@ void LLLineEditor::markAsPreedit(S32 position, S32 length)
|
|||
mPreeditPositions[0] = position;
|
||||
mPreeditPositions[1] = position + length;
|
||||
mPreeditStandouts.resize(1);
|
||||
mPreeditStandouts[0] = FALSE;
|
||||
mPreeditStandouts[0] = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ protected:
|
|||
LLWString mPreeditWString;
|
||||
LLWString mPreeditOverwrittenWString;
|
||||
std::vector<S32> mPreeditPositions;
|
||||
std::vector<bool> mPreeditStandouts;
|
||||
LLPreeditor::standouts_t mPreeditStandouts;
|
||||
|
||||
protected:
|
||||
LLUIColor mDefaultColor;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class LLPreeditor
|
|||
public:
|
||||
|
||||
typedef std::vector<S32> segment_lengths_t;
|
||||
typedef std::vector<bool> standouts_t;
|
||||
typedef std::deque<bool> standouts_t;
|
||||
|
||||
// We don't delete against LLPreeditor, but compilers complain without this...
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue