Fix: Warning about base set template instantiations with clang
This commit is contained in:
committed by
Patric Stout
parent
e8de33a61f
commit
5c5267726f
@@ -219,6 +219,11 @@ public:
|
|||||||
static bool HasSet(const ContentInfo *ci, bool md5sum);
|
static bool HasSet(const ContentInfo *ci, bool md5sum);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <class Tbase_set> /* static */ const char *BaseMedia<Tbase_set>::ini_set;
|
||||||
|
template <class Tbase_set> /* static */ const Tbase_set *BaseMedia<Tbase_set>::used_set;
|
||||||
|
template <class Tbase_set> /* static */ Tbase_set *BaseMedia<Tbase_set>::available_sets;
|
||||||
|
template <class Tbase_set> /* static */ Tbase_set *BaseMedia<Tbase_set>::duplicate_sets;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check whether there's a base set matching some information.
|
* Check whether there's a base set matching some information.
|
||||||
* @param ci The content info to compare it to.
|
* @param ci The content info to compare it to.
|
||||||
|
|||||||
@@ -17,11 +17,6 @@
|
|||||||
#include "ini_type.h"
|
#include "ini_type.h"
|
||||||
#include "string_func.h"
|
#include "string_func.h"
|
||||||
|
|
||||||
template <class Tbase_set> /* static */ const char *BaseMedia<Tbase_set>::ini_set;
|
|
||||||
template <class Tbase_set> /* static */ const Tbase_set *BaseMedia<Tbase_set>::used_set;
|
|
||||||
template <class Tbase_set> /* static */ Tbase_set *BaseMedia<Tbase_set>::available_sets;
|
|
||||||
template <class Tbase_set> /* static */ Tbase_set *BaseMedia<Tbase_set>::duplicate_sets;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to read a single piece of metadata and return false if it doesn't exist.
|
* Try to read a single piece of metadata and return false if it doesn't exist.
|
||||||
* @param name the name of the item to fetch.
|
* @param name the name of the item to fetch.
|
||||||
|
|||||||
Reference in New Issue
Block a user