Skip to content

Commit 5aa3d9e

Browse files
MatthewMArnoldOroArmor
authored andcommitted
[menu] Add optional allocator for ui menu classes (#5)
* [menu] Add optional allocator for ui menu classes, used for destroying AbstractViews * [menu] remove coupling between modm gui and modm menu view and menu This is because the gui stuff requires colored menus but the menu code should not have to have colored menus. This wouldn't be an issue if we could dynamic cast but on certain devices you can't do this.
1 parent 85676f7 commit 5aa3d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modm/ui/menu/abstract_view.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#ifndef MODM_ABSTRACT_VIEW_HPP
1919
#define MODM_ABSTRACT_VIEW_HPP
2020

21-
#include <modm/utils/allocator.hpp>
21+
#include <modm/utils/allocator/static.hpp>
2222

2323
#include "iabstract_view.hpp"
2424

0 commit comments

Comments
 (0)