diff engine/core/util/resource/pool.cpp @ 152:679ed3e15513

Deprecation: getIndex is now thrown out. Import fife_compat for the transition.
author phoku@33b003aa-7bff-0310-803a-e67f0ece8222
date Sat, 11 Oct 2008 12:55:41 +0000
parents 823544621b5b
children 376b8afc9a18
line wrap: on
line diff
--- a/engine/core/util/resource/pool.cpp	Sat Oct 11 12:25:53 2008 +0000
+++ b/engine/core/util/resource/pool.cpp	Sat Oct 11 12:55:41 2008 +0000
@@ -149,11 +149,6 @@
 		res->setPoolId(index);
 		return *res;
 	}
-	
-	int Pool::getIndex(const std::string& filename) {
-		// create resource
-		return addResourceFromFile(filename);
-	}
 
 	void Pool::release(unsigned int index, bool dec) {
 		if (index >= m_entries.size()) {