Fix clang-tidy errors

This commit is contained in:
Vasily
2019-05-25 18:49:42 +02:00
committed by username223
parent 1cd259bf9b
commit d48f74b314
2 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ std::vector<Token>
} }
} }
std::string characters = ""; std::string characters;
characters.push_back( *ch ); characters.push_back( *ch );
while ( ch + 1 != end ) while ( ch + 1 != end )
{ {
+1 -5
View File
@@ -97,11 +97,7 @@ void sendKeyPress( const Token token,
{ {
bool keyDown = false; bool keyDown = false;
if ( status == KeyStatus::Up ) if ( status == KeyStatus::Down )
{
keyDown = false;
}
else
{ {
keyDown = true; keyDown = true;
} }