mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Resolve boost/std unique_ptr issue
This commit is contained in:
parent
a27a88f9f2
commit
4b1d5d9b63
2 changed files with 1 additions and 9 deletions
|
|
@ -298,7 +298,7 @@ public:
|
||||||
tresult PLUGIN_API createInstance (TUID cid, TUID _iid, void** obj) SMTG_OVERRIDE;
|
tresult PLUGIN_API createInstance (TUID cid, TUID _iid, void** obj) SMTG_OVERRIDE;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
std::shared_ptr<PlugInterfaceSupport> _plug_interface_support;
|
std::unique_ptr<PlugInterfaceSupport> _plug_interface_support;
|
||||||
};
|
};
|
||||||
|
|
||||||
class LIBARDOUR_LOCAL Vst3ParamValueQueue : public Vst::IParamValueQueue
|
class LIBARDOUR_LOCAL Vst3ParamValueQueue : public Vst::IParamValueQueue
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,6 @@
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
#if (__cplusplus >= 201103L)
|
|
||||||
#include <boost/make_unique.hpp>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "ardour/vst3_host.h"
|
#include "ardour/vst3_host.h"
|
||||||
|
|
||||||
#include "pbd/atomic.h"
|
#include "pbd/atomic.h"
|
||||||
|
|
@ -461,11 +457,7 @@ PlugInterfaceSupport::addPlugInterfaceSupported (const TUID id)
|
||||||
|
|
||||||
HostApplication::HostApplication ()
|
HostApplication::HostApplication ()
|
||||||
{
|
{
|
||||||
#if (__cplusplus >= 201103L)
|
|
||||||
_plug_interface_support = boost::make_unique<PlugInterfaceSupport> ();
|
|
||||||
#else
|
|
||||||
_plug_interface_support.reset (new PlugInterfaceSupport);
|
_plug_interface_support.reset (new PlugInterfaceSupport);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tresult
|
tresult
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue