EPICS base 3.14/clang compilation, TCPAcceptor shutdown on OSX (BSD) fixed

This commit is contained in:
Matej Sekoranja
2015-12-16 11:46:58 +01:00
parent 76b414dac6
commit d7eafcb9c5
4 changed files with 131 additions and 4 deletions

View File

@@ -5060,7 +5060,9 @@ namespace epics {
* So we compose the provider within the context and use a nested shared_ptr
* to the context for the provider.
*/
ClientContextImpl::shared_pointer ctxt(new InternalClientContextImpl(conf));
// TODO use make::shared
InternalClientContextImpl::shared_pointer t(new InternalClientContextImpl(conf));
ClientContextImpl::shared_pointer ctxt(t);
InternalClientContextImpl *self = static_cast<InternalClientContextImpl*>(ctxt.get());