mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Silence new ignored attributes warning
This commit is contained in:
@@ -110,11 +110,17 @@ struct ClapPluginInstance {
|
||||
*/
|
||||
std::optional<Editor> editor;
|
||||
|
||||
// FIXME: This emits `-Wignored-attributes` as of Wine 5.22
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
||||
|
||||
/**
|
||||
* The plugin object. The plugin gets destroyed together with this struct.
|
||||
*/
|
||||
std::unique_ptr<const clap_plugin, decltype(clap_plugin::destroy)> plugin;
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/**
|
||||
* Contains the plugin's supported extensions. Initialized after the host
|
||||
* calls `clap_plugin::init()`.
|
||||
|
||||
Reference in New Issue
Block a user