aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-01-01 18:59:47 -0800
committerPaul Gilbert2019-01-01 18:59:47 -0800
commitfd2dda4c18b97500bcfca8b4e10b8d420d5b5dbd (patch)
tree3cc62fb24c821401efc653566385b25bec482665 /engines/glk/frotz/windows.h
parentc43f625fd814e2f3baf61d76441121bbe3554f91 (diff)
downloadscummvm-rg350-fd2dda4c18b97500bcfca8b4e10b8d420d5b5dbd.tar.gz
scummvm-rg350-fd2dda4c18b97500bcfca8b4e10b8d420d5b5dbd.tar.bz2
scummvm-rg350-fd2dda4c18b97500bcfca8b4e10b8d420d5b5dbd.zip
GLK: FROTZ: Compilation fix
Diffstat (limited to 'engines/glk/frotz/windows.h')
-rw-r--r--engines/glk/frotz/windows.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h
index 566d2fd5c8..ef300fbb4c 100644
--- a/engines/glk/frotz/windows.h
+++ b/engines/glk/frotz/windows.h
@@ -23,6 +23,8 @@
#ifndef GLK_FROTZ_WINDOWS
#define GLK_FROTZ_WINDOWS
+#include "glk/windows.h"
+
namespace Glk {
namespace Frotz {
@@ -80,15 +82,12 @@ public:
/**
* Constructor
*/
- Windows() : _lower(_windows[0]), _upper(_windows[1]) {}
+ Windows();
/**
* Array access
*/
- Window &operator[](uint idx) {
- assert(idx < 8);
- return _windows[idx];
- }
+ Window &operator[](uint idx);
};
} // End of namespace Frotz