Changeset - r19565:c047d5884fa1
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-08-23 18:30:46
frosch@openttd.org
(svn r24496) -Fix [FS#5276]: Make sure all template functions are instantiated by at least one compilation unit.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/base_media_func.h
Show inline comments
 
@@ -394,14 +394,15 @@ template <class Tbase_set>
 
#define INSTANTIATE_BASE_MEDIA_METHODS(repl_type, set_type) \
 
	template const char *repl_type::ini_set; \
 
	template const char *repl_type::GetExtension(); \
 
	template bool repl_type::AddFile(const char *filename, size_t pathlength, const char *tar_filename); \
 
	template bool repl_type::HasSet(const struct ContentInfo *ci, bool md5sum); \
 
	template bool repl_type::SetSet(const char *name); \
 
	template char *repl_type::GetSetsList(char *p, const char *last); \
 
	template int repl_type::GetNumSets(); \
 
	template int repl_type::GetIndexOfUsedSet(); \
 
	template const set_type *repl_type::GetSet(int index); \
 
	template const set_type *repl_type::GetUsedSet(); \
 
	template bool repl_type::DetermineBestSet(); \
 
	template set_type *repl_type::GetAvailableSets();
 
	template set_type *repl_type::GetAvailableSets(); \
 
	template const char *TryGetBaseSetFile(const ContentInfo *ci, bool md5sum, const set_type *s);
 

	
0 comments (0 inline, 0 general)