InputCommon: Fix formatting issues in Quartz

This wasn't caught by the lint script because it was broken (by me) at
some point :(

If it had been rebased, it wouldn't have passed lint
This commit is contained in:
Léo Lam 2016-10-03 18:54:30 +02:00
parent cc66f0336f
commit fad17246db
2 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@ namespace ciface
{ {
namespace Quartz namespace Quartz
{ {
std::string KeycodeToName(const CGKeyCode keycode); std::string KeycodeToName(const CGKeyCode keycode);
class KeyboardAndMouse : public Core::Device class KeyboardAndMouse : public Core::Device

View File

@ -11,8 +11,8 @@ namespace ciface
{ {
namespace Quartz namespace Quartz
{ {
std::string KeycodeToName(const CGKeyCode keycode)
std::string KeycodeToName(const CGKeyCode keycode) { {
static const std::map<CGKeyCode, std::string> named_keys = { static const std::map<CGKeyCode, std::string> named_keys = {
{kVK_ANSI_A, "A"}, {kVK_ANSI_A, "A"},
{kVK_ANSI_B, "B"}, {kVK_ANSI_B, "B"},