summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/store.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2010-06-20 01:16:18 +0200
committerAdam Borowski <kilobyte@angband.pl>2010-06-20 20:27:50 +0200
commitf1f190d3e3f4a100d95ebc843b0d9bc024f0adb7 (patch)
tree1785953a4174a106f1df2124b1774e8b03229733 /crawl-ref/source/store.cc
parentf4f8547af102c4e3456d969f4374eaf548182d71 (diff)
downloadcrawl-ref-f1f190d3e3f4a100d95ebc843b0d9bc024f0adb7.tar.gz
crawl-ref-f1f190d3e3f4a100d95ebc843b0d9bc024f0adb7.zip
Remove CrawlTableWrapper, unused since times long ago.
Diffstat (limited to 'crawl-ref/source/store.cc')
-rw-r--r--crawl-ref/source/store.cc47
1 files changed, 0 insertions, 47 deletions
diff --git a/crawl-ref/source/store.cc b/crawl-ref/source/store.cc
index 0ce1ddd871..6a9a398d33 100644
--- a/crawl-ref/source/store.cc
+++ b/crawl-ref/source/store.cc
@@ -1861,50 +1861,3 @@ CrawlVector::const_iterator CrawlVector::end() const
assert_validity();
return vector.end();
}
-
-/////////////////////////////////////////////////////////////////////////////
-/////////////////////////////////////////////////////////////////////////////
-
-template <typename T, store_val_type TYPE>
-CrawlTableWrapper<T, TYPE>::CrawlTableWrapper()
-{
- table = NULL;
-}
-
-template <typename T, store_val_type TYPE>
-CrawlTableWrapper<T, TYPE>::CrawlTableWrapper(CrawlHashTable& _table)
-{
- wrap(_table);
-}
-
-template <typename T, store_val_type TYPE>
-CrawlTableWrapper<T, TYPE>::CrawlTableWrapper(CrawlHashTable* _table)
-{
- wrap(_table);
-}
-
-template <typename T, store_val_type TYPE>
-void CrawlTableWrapper<T, TYPE>::wrap(CrawlHashTable& _table)
-{
- wrap(&_table);
-}
-
-template <typename T, store_val_type TYPE>
-void CrawlTableWrapper<T, TYPE>::wrap(CrawlHashTable* _table)
-{
- ASSERT(_table != NULL);
-
- table = _table;
-}
-
-template <typename T, store_val_type TYPE>
-T& CrawlTableWrapper<T, TYPE>::operator[] (const std::string &key)
-{
- return (T&) (*table)[key];
-}
-
-template <typename T, store_val_type TYPE>
-const T CrawlTableWrapper<T, TYPE>::operator[] (const std::string &key) const
-{
- return (T) (*table)[key];
-}