mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Use std pointers in objective C files
This commit is contained in:
parent
8075b55919
commit
f2c309d7de
3 changed files with 9 additions and 9 deletions
|
|
@ -58,15 +58,15 @@ struct ERect{
|
|||
@end
|
||||
|
||||
VSTPluginUI*
|
||||
create_mac_vst_gui (boost::shared_ptr<PlugInsertBase> pib)
|
||||
create_mac_vst_gui (std::shared_ptr<PlugInsertBase> pib)
|
||||
{
|
||||
/* PluginUIWindow::create_mac_vst_editor assures this cast works */
|
||||
boost::shared_ptr<MacVSTPlugin> mvst = boost::dynamic_pointer_cast<MacVSTPlugin> (pib->plugin());
|
||||
std::shared_ptr<MacVSTPlugin> mvst = std::dynamic_pointer_cast<MacVSTPlugin> (pib->plugin());
|
||||
return new MacVSTPluginUI (pib, mvst);
|
||||
}
|
||||
|
||||
|
||||
MacVSTPluginUI::MacVSTPluginUI (boost::shared_ptr<PlugInsertBase> pib, boost::shared_ptr<VSTPlugin> vst)
|
||||
MacVSTPluginUI::MacVSTPluginUI (std::shared_ptr<PlugInsertBase> pib, std::shared_ptr<VSTPlugin> vst)
|
||||
: VSTPluginUI (pib, vst)
|
||||
, _ns_view (0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue