fix new hack location
This commit is contained in:
parent
e4b845bd10
commit
9a587fadc9
@ -34,7 +34,7 @@ int main(int argc, char *argv[])
|
|||||||
hack::log()("run example");
|
hack::log()("run example");
|
||||||
|
|
||||||
sorting sort;
|
sorting sort;
|
||||||
message ms { result_t{ 1, 5, 7, 9, 2, 4, 6, 8 } };
|
message ms { result_t{ 1, 5, 7, 9, 2, 4, 6, 8, 1, 5, 7, 9, 2, 4, 6, 8, 1, 5, 7, 9, 2, 4, 6, 8, 1, 5, 7, 9, 2, 4, 6, 8, 1, 5, 7, 9, 2, 4, 6, 8, 1, 5, 7, 9, 2, 4, 6, 8, 10, 13, 12, 11 } };
|
||||||
actorfm::actor_controller::instance().set_actor(sort);
|
actorfm::actor_controller::instance().set_actor(sort);
|
||||||
|
|
||||||
auto fut = sort.expect(ms);
|
auto fut = sort.expect(ms);
|
||||||
|
@ -11,7 +11,11 @@ namespace actorfm
|
|||||||
public:
|
public:
|
||||||
actor_controller() : sch { std::make_unique<scheduler>() } {}
|
actor_controller() : sch { std::make_unique<scheduler>() } {}
|
||||||
|
|
||||||
static actor_controller& instance() { static actor_controller ac; return ac; }
|
static actor_controller& instance()
|
||||||
|
{
|
||||||
|
static actor_controller ac;
|
||||||
|
return ac;
|
||||||
|
}
|
||||||
|
|
||||||
template<typename actor_t>
|
template<typename actor_t>
|
||||||
void set_actor(actor_t& actor)
|
void set_actor(actor_t& actor)
|
||||||
|
@ -1,15 +1,2 @@
|
|||||||
[wrap-file]
|
[wrap-redirect]
|
||||||
directory = googletest-release-1.11.0
|
filename = hack/subprojects/gtest.wrap
|
||||||
source_url = https://github.com/google/googletest/archive/release-1.11.0.tar.gz
|
|
||||||
source_filename = gtest-1.11.0.tar.gz
|
|
||||||
source_hash = b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5
|
|
||||||
patch_filename = gtest_1.11.0-2_patch.zip
|
|
||||||
patch_url = https://wrapdb.mesonbuild.com/v2/gtest_1.11.0-2/get_patch
|
|
||||||
patch_hash = 764530d812ac161c9eab02a8cfaec67c871fcfc5548e29fd3d488070913d4e94
|
|
||||||
|
|
||||||
[provide]
|
|
||||||
gtest = gtest_dep
|
|
||||||
gtest_main = gtest_main_dep
|
|
||||||
gmock = gmock_dep
|
|
||||||
gmock_main = gmock_main_dep
|
|
||||||
|
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
[wrap-git]
|
[wrap-git]
|
||||||
url = https://github.com/azchatlanin/hack.git
|
url = https://gitcast.ru/chatlanin/hack.git
|
||||||
revision = master
|
revision = master
|
||||||
|
|
||||||
[provide]
|
|
||||||
hack = hack_dep
|
|
||||||
|
Loading…
Reference in New Issue
Block a user