From 707f1a0d0733fd21105ed66ba7e42c8893878d3d Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 8 Apr 2012 14:45:54 +0200 Subject: [PATCH] destructor for class Console --- App2/Console.cc | 3 +++ App2/Console.h | 1 + 2 files changed, 4 insertions(+) diff --git a/App2/Console.cc b/App2/Console.cc index 0ce0c059c9..b9bc6db922 100644 --- a/App2/Console.cc +++ b/App2/Console.cc @@ -24,6 +24,9 @@ Console::Console(GrafPtr port, Rect r) currentInstance = this; } +Console::~Console() +{ +} Rect Console::CellRect(short x, short y) { diff --git a/App2/Console.h b/App2/Console.h index 3714914540..717acb67a8 100644 --- a/App2/Console.h +++ b/App2/Console.h @@ -6,6 +6,7 @@ class Console { public: Console(GrafPtr port, Rect r); + ~Console(); void Draw(); void putch(char c); std::string ReadLine();