Removed unused member var from LetterNode; fix #7
This makes XCode 4.6 happy again.
This commit is contained in:
parent
c53bb33f50
commit
6d127c651e
@ -23,7 +23,6 @@ namespace YouCompleteMe {
|
|||||||
|
|
||||||
LetterNode::LetterNode( char letter, int index )
|
LetterNode::LetterNode( char letter, int index )
|
||||||
: is_uppercase_( IsUppercase( letter ) ),
|
: is_uppercase_( IsUppercase( letter ) ),
|
||||||
is_root_node_( false ),
|
|
||||||
index_( index ) {
|
index_( index ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,7 +30,6 @@ LetterNode::LetterNode( char letter, int index )
|
|||||||
// TODO: this class needs tests
|
// TODO: this class needs tests
|
||||||
LetterNode::LetterNode( const std::string &text )
|
LetterNode::LetterNode( const std::string &text )
|
||||||
: is_uppercase_( false ),
|
: is_uppercase_( false ),
|
||||||
is_root_node_( true ),
|
|
||||||
index_( -1 ) {
|
index_( -1 ) {
|
||||||
letternode_per_text_index_.resize( text.size() );
|
letternode_per_text_index_.resize( text.size() );
|
||||||
|
|
||||||
|
@ -60,7 +60,6 @@ private:
|
|||||||
LetterNodeListMap letters_;
|
LetterNodeListMap letters_;
|
||||||
std::vector< boost::shared_ptr< LetterNode > > letternode_per_text_index_;
|
std::vector< boost::shared_ptr< LetterNode > > letternode_per_text_index_;
|
||||||
bool is_uppercase_;
|
bool is_uppercase_;
|
||||||
bool is_root_node_;
|
|
||||||
int index_;
|
int index_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user