diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 09:23:39 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-05-03 09:23:39 +0200 |
commit | 9565597b67fff5cce94e97869247514c04d18c46 (patch) | |
tree | 1d564dbf54719925fb0d36cca57fd2431ea4f6d9 /vespalib | |
parent | 1b2adfe710e4092cd8d5fe0464b905b13d573837 (diff) |
And down in the corner there lay a lonely small forgotten file...
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/util/closuretask.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/util/closuretask.cpp b/vespalib/src/vespa/vespalib/util/closuretask.cpp new file mode 100644 index 00000000000..bd1d5cebeed --- /dev/null +++ b/vespalib/src/vespa/vespalib/util/closuretask.cpp @@ -0,0 +1,13 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. + +#include "closuretask.h" + +namespace vespalib { + +ClosureTask::~ClosureTask() {} + +Executor::Task::UP makeTask(std::unique_ptr<Closure> closure) { + return Executor::Task::UP(new ClosureTask(std::move(closure))); +} + +} |