Put some ownership on a vector.
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace dw {
|
||||
@ -160,7 +161,7 @@ private:
|
||||
View *view;
|
||||
std::unique_ptr< Widget > topLevel;
|
||||
Widget *widgetAtPoint;
|
||||
lout::container::typed::Vector<Widget> *queueResizeList;
|
||||
std::vector< Widget * > queueResizeList;
|
||||
|
||||
/* The state, which must be projected into the view. */
|
||||
style::Color *bgColor;
|
||||
|
||||
Reference in New Issue
Block a user