--- main/source/window/window.cpp.orig 2023-06-24 10:07:39 UTC +++ main/source/window/window.cpp @@ -220,7 +220,7 @@ namespace hex { } } - static void createNestedMenu(std::span menuItems, const Shortcut &shortcut, const std::function &callback, const std::function &enabledCallback) { + static void createNestedMenu(const std::vector &menuItems, const Shortcut &shortcut, const std::function &callback, const std::function &enabledCallback) { const auto &name = menuItems.front(); if (name == ContentRegistry::Interface::impl::SeparatorValue) {