diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-06 21:07:22 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-07 07:13:16 +0100 |
commit | 65399d69a35dff75ec25aaa193102443862b8bed (patch) | |
tree | a50f7c49ce1019343d7ef9f97a92672fda436d77 | |
parent | fbec5462191d3029b731f6727b4be348ccc90ea6 (diff) | |
download | crawl-ref-65399d69a35dff75ec25aaa193102443862b8bed.tar.gz crawl-ref-65399d69a35dff75ec25aaa193102443862b8bed.zip |
Add default value constructor to FixedArray.
-rw-r--r-- | crawl-ref/source/fixary.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/crawl-ref/source/fixary.h b/crawl-ref/source/fixary.h index 6fb38c0b9c..61318a58b0 100644 --- a/crawl-ref/source/fixary.h +++ b/crawl-ref/source/fixary.h @@ -33,6 +33,19 @@ public: typedef FixedVector<TYPE, HEIGHT> Column; //----------------------------------- +// Initialization/Destruction +// +public: + ~FixedArray() {} + + FixedArray() {} + + FixedArray(TYPE def) + { + init(def); + } + +//----------------------------------- // API // public: |