privatize some API details

hide a number of APIs which should not
be public APIs.
This commit is contained in:
Michael Davidsaver
2017-05-30 17:12:31 +02:00
parent 7c85e6073b
commit 277e5c33fb
21 changed files with 86 additions and 57 deletions

View File

@@ -653,7 +653,7 @@ ServerContext::shared_pointer startPVAServer(std::string const & providerNames,
if (runInSeparateThread)
{
// delete left to the thread
// delete left to the thread (which doesn't)
auto_ptr<ThreadRunnerParam> param(new ThreadRunnerParam());
param->ctx = ctx;
param->timeToRun = timeToRun;
@@ -665,6 +665,7 @@ ServerContext::shared_pointer startPVAServer(std::string const & providerNames,
threadRunner, param.get());
param.release();
// leak...
}
else
{