Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Source/Game-Lib/Game-Lib/Input/InputActionSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,13 @@ class InputActionSystem
struct PersistedBindingOverride
{
public:
// GCC rejects default member initializers on nested types when a member of the
// enclosing class needs them before the class is complete (gcc bug 96645), so
// initialize via the constructor instead
PersistedBindingOverride() : present(false) {}

std::optional<InputBinding> binding;
bool present = false;
bool present;
};

using PersistedActionOverrides = std::array<PersistedBindingOverride, InputActionDesc::MAX_BINDINGS>;
Expand Down
Loading