summaryrefslogtreecommitdiff
path: root/common/external
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-07-31 20:04:19 -0400
committera1xd <[email protected]>2020-07-31 20:04:19 -0400
commit5241f9783b41e74f719dc4a472c6b0803b0eff8c (patch)
tree4c0a0507610e30b5c76b0dfff98e50b56993f8ae /common/external
parentMerge pull request #7 from JacobPalecki/GUI (diff)
downloadrawaccel-5241f9783b41e74f719dc4a472c6b0803b0eff8c.tar.xz
rawaccel-5241f9783b41e74f719dc4a472c6b0803b0eff8c.zip
add read
add function that makes an ioctl call to return the driver's active mouse_modifier
Diffstat (limited to 'common/external')
-rw-r--r--common/external/tagged-union-single.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/external/tagged-union-single.h b/common/external/tagged-union-single.h
index 3353325..f0de097 100644
--- a/common/external/tagged-union-single.h
+++ b/common/external/tagged-union-single.h
@@ -137,7 +137,7 @@ struct tagged_union {
int tag = 0;
struct storage_t {
- alignas(max_align_of<First, Rest...>) char bytes[max_size_of<First, Rest...>] = "";
+ alignas(max_align_of<First, Rest...>) char bytes[max_size_of<First, Rest...>] = {};
template <typename T>
inline constexpr T& as() {