Small whitespace fix
This commit is contained in:
parent
d0223a8f0b
commit
7a4fec0f3f
@ -35,7 +35,6 @@ bool IsUppercase( char letter )
|
|||||||
int IndexForChar( char letter )
|
int IndexForChar( char letter )
|
||||||
{
|
{
|
||||||
if ( IsUppercase( letter ) )
|
if ( IsUppercase( letter ) )
|
||||||
|
|
||||||
return letter + ( 'a' - 'A' );
|
return letter + ( 'a' - 'A' );
|
||||||
|
|
||||||
return letter;
|
return letter;
|
||||||
@ -44,21 +43,21 @@ int IndexForChar( char letter )
|
|||||||
|
|
||||||
LetterHash::LetterHash()
|
LetterHash::LetterHash()
|
||||||
{
|
{
|
||||||
letters_.resize( kNumLetters );
|
letters_.resize( kNumLetters );
|
||||||
|
|
||||||
for ( uint i = 0; i < letters_.size(); ++i )
|
for ( uint i = 0; i < letters_.size(); ++i )
|
||||||
{
|
{
|
||||||
letters_[ i ] = NULL;
|
letters_[ i ] = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
LetterHash::~LetterHash()
|
LetterHash::~LetterHash()
|
||||||
{
|
{
|
||||||
for ( uint i = 0; i < letters_.size(); ++i )
|
for ( uint i = 0; i < letters_.size(); ++i )
|
||||||
{
|
{
|
||||||
delete letters_[ i ];
|
delete letters_[ i ];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user