Resolve boost/std unique_ptr issue
This commit is contained in:
parent
a27a88f9f2
commit
4b1d5d9b63
@ -298,7 +298,7 @@ public:
|
||||
tresult PLUGIN_API createInstance (TUID cid, TUID _iid, void** obj) SMTG_OVERRIDE;
|
||||
|
||||
protected:
|
||||
std::shared_ptr<PlugInterfaceSupport> _plug_interface_support;
|
||||
std::unique_ptr<PlugInterfaceSupport> _plug_interface_support;
|
||||
};
|
||||
|
||||
class LIBARDOUR_LOCAL Vst3ParamValueQueue : public Vst::IParamValueQueue
|
||||
|
@ -20,10 +20,6 @@
|
||||
#include <algorithm>
|
||||
#include <ctype.h>
|
||||
|
||||
#if (__cplusplus >= 201103L)
|
||||
#include <boost/make_unique.hpp>
|
||||
#endif
|
||||
|
||||
#include "ardour/vst3_host.h"
|
||||
|
||||
#include "pbd/atomic.h"
|
||||
@ -461,11 +457,7 @@ PlugInterfaceSupport::addPlugInterfaceSupported (const TUID id)
|
||||
|
||||
HostApplication::HostApplication ()
|
||||
{
|
||||
#if (__cplusplus >= 201103L)
|
||||
_plug_interface_support = boost::make_unique<PlugInterfaceSupport> ();
|
||||
#else
|
||||
_plug_interface_support.reset (new PlugInterfaceSupport);
|
||||
#endif
|
||||
}
|
||||
|
||||
tresult
|
||||
|
Loading…
Reference in New Issue
Block a user