DecoderThread: remove unused function deconst_plugin()
This commit is contained in:
parent
d110131ad6
commit
fe3c5e4e8e
@ -170,15 +170,6 @@ decoder_file_decode(const DecoderPlugin &plugin,
|
|||||||
return decoder.dc.state != DecoderState::START;
|
return decoder.dc.state != DecoderState::START;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Hack to allow tracking const decoder plugins in a GSList.
|
|
||||||
*/
|
|
||||||
static inline gpointer
|
|
||||||
deconst_plugin(const struct DecoderPlugin *plugin)
|
|
||||||
{
|
|
||||||
return const_cast<struct DecoderPlugin *>(plugin);
|
|
||||||
}
|
|
||||||
|
|
||||||
gcc_pure
|
gcc_pure
|
||||||
static bool
|
static bool
|
||||||
decoder_check_plugin_mime(const DecoderPlugin &plugin, const input_stream &is)
|
decoder_check_plugin_mime(const DecoderPlugin &plugin, const input_stream &is)
|
||||||
|
Loading…
Reference in New Issue
Block a user