From 7a4fec0f3f0465df60667ae479cf2c2a4de01f95 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Fri, 24 Aug 2012 16:28:56 -0700 Subject: [PATCH] Small whitespace fix --- cpp/ycm/LetterHash.cpp | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/cpp/ycm/LetterHash.cpp b/cpp/ycm/LetterHash.cpp index 7895d0ec..0d47b367 100644 --- a/cpp/ycm/LetterHash.cpp +++ b/cpp/ycm/LetterHash.cpp @@ -35,7 +35,6 @@ bool IsUppercase( char letter ) int IndexForChar( char letter ) { if ( IsUppercase( letter ) ) - return letter + ( 'a' - 'A' ); return letter; @@ -44,21 +43,21 @@ int IndexForChar( char letter ) LetterHash::LetterHash() { - letters_.resize( kNumLetters ); + letters_.resize( kNumLetters ); - for ( uint i = 0; i < letters_.size(); ++i ) - { - letters_[ i ] = NULL; - } + for ( uint i = 0; i < letters_.size(); ++i ) + { + letters_[ i ] = NULL; + } } LetterHash::~LetterHash() { - for ( uint i = 0; i < letters_.size(); ++i ) - { - delete letters_[ i ]; - } + for ( uint i = 0; i < letters_.size(); ++i ) + { + delete letters_[ i ]; + } }