attempt to fix macos build
This commit is contained in:
@ -51,7 +51,6 @@ PVRecord::~PVRecord()
|
||||
if(traceLevel>0) {
|
||||
cout << "~PVRecord() " << recordName << endl;
|
||||
}
|
||||
// destroy();
|
||||
}
|
||||
|
||||
void PVRecord::initPVRecord()
|
||||
|
@ -30,12 +30,12 @@ using std::string;
|
||||
|
||||
namespace epics { namespace pvDatabase {
|
||||
|
||||
static string providerName("local");
|
||||
static ChannelProvider::shared_pointer channelProvider;
|
||||
|
||||
class LocalChannelProviderFactory;
|
||||
typedef std::tr1::shared_ptr<LocalChannelProviderFactory> LocalChannelProviderFactoryPtr;
|
||||
|
||||
static string providerName("local");
|
||||
static ChannelProviderLocalPtr channelProvider;
|
||||
|
||||
class LocalChannelProviderFactory : public ChannelProviderFactory
|
||||
{
|
||||
public:
|
||||
@ -43,7 +43,7 @@ public:
|
||||
virtual string getFactoryName() { return providerName;}
|
||||
virtual ChannelProvider::shared_pointer sharedInstance()
|
||||
{
|
||||
if(!channelProvider) channelProvider = ChannelProvider::shared_pointer(new ChannelProviderLocal());
|
||||
if(!channelProvider) channelProvider = ChannelProviderLocalPtr(new ChannelProviderLocal());
|
||||
return channelProvider;
|
||||
}
|
||||
virtual ChannelProvider::shared_pointer newInstance()
|
||||
|
Reference in New Issue
Block a user