1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Misc cleanups relating to ScopedPointer

This commit is contained in:
jules 2018-01-08 18:03:26 +00:00
parent edea094d7d
commit 3ec5c17bb1
13 changed files with 44 additions and 38 deletions

View file

@ -41,7 +41,7 @@ struct TextEditorKeyMapper
*/
static bool invokeKeyFunction (CallbackClass& target, const KeyPress& key)
{
const ModifierKeys& mods = key.getModifiers();
auto mods = key.getModifiers();
const bool isShiftDown = mods.isShiftDown();
const bool ctrlOrAltDown = mods.isCtrlDown() || mods.isAltDown();