From 83d23230a3d71d76ee5e0368e071273beaa6d1b4 Mon Sep 17 00:00:00 2001 From: tom Date: Fri, 8 May 2015 16:16:59 -0500 Subject: death now works properly --- inc/list.hpp | 2 +- inc/window.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/list.hpp b/inc/list.hpp index dc5c412..f370d24 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -16,7 +16,7 @@ class List private: //vectors containing objects of each type - Window * main;//will be needed for adding R's and C's after constructor. + Window main = Window("no");//will be needed for adding R's and C's after constructor. std::vector R; std::vector C; std::vector L; diff --git a/inc/window.hpp b/inc/window.hpp index d3436d8..073a106 100644 --- a/inc/window.hpp +++ b/inc/window.hpp @@ -17,6 +17,7 @@ class Window { public: Window(); + Window(std::string){}; void Destroy(); void Clear(); -- cgit v1.2.3