summaryrefslogtreecommitdiff
path: root/common/external
diff options
context:
space:
mode:
authora1xd <[email protected]>2020-07-31 01:37:41 -0400
committera1xd <[email protected]>2020-07-31 01:37:41 -0400
commitb3ed8fd4e4fcad0b749126dee62588260d74b106 (patch)
tree5a2621096e038f29ca64f8cfac5f452a85f15056 /common/external
parentMake weight a member of accel_base (diff)
downloadrawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.tar.xz
rawaccel-b3ed8fd4e4fcad0b749126dee62588260d74b106.zip
add more tweaks for st-refactor
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 bcfc1cf..3353325 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() {