summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-14 20:34:35 -0400
committerLioncash <mathew1800@gmail.com>2018-03-14 22:03:12 -0400
commit50a476c3714b3c423609ec04ce424c244bd2a1c1 (patch)
tree68a1dadba4b9d61223401993865d0efa314e6a26 /Source/Core/InputCommon/ControllerInterface/evdev
parent19d97f3fd972f1577ec821306bd438d2cf0232a8 (diff)
Assert: Uppercase assertion macros
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index 2049c85237..b6ed84f772 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -56,7 +56,7 @@ static void HotplugThreadFunc()
NOTICE_LOG(SERIALINTERFACE, "evdev hotplug thread started");
udev* udev = udev_new();
- _assert_msg_(PAD, udev != nullptr, "Couldn't initialize libudev.");
+ ASSERT_MSG(PAD, udev != nullptr, "Couldn't initialize libudev.");
// Set up monitoring
udev_monitor* monitor = udev_monitor_new_from_netlink(udev, "udev");
@@ -120,7 +120,7 @@ static void StartHotplugThread()
return;
s_wakeup_eventfd = eventfd(0, 0);
- _assert_msg_(PAD, s_wakeup_eventfd != -1, "Couldn't create eventfd.");
+ ASSERT_MSG(PAD, s_wakeup_eventfd != -1, "Couldn't create eventfd.");
s_hotplug_thread = std::thread(HotplugThreadFunc);
}
@@ -152,7 +152,7 @@ void PopulateDevices()
// this ever changes, hopefully udev will take care of this.
udev* udev = udev_new();
- _assert_msg_(PAD, udev != nullptr, "Couldn't initialize libudev.");
+ ASSERT_MSG(PAD, udev != nullptr, "Couldn't initialize libudev.");
// List all input devices
udev_enumerate* enumerate = udev_enumerate_new(udev);