fix new hack location

This commit is contained in:
chatlanin 2022-10-23 19:14:18 +03:00
parent e4b845bd10
commit 9a587fadc9
4 changed files with 9 additions and 21 deletions

View File

@ -34,7 +34,7 @@ int main(int argc, char *argv[])
hack::log()("run example");
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);
auto fut = sort.expect(ms);

View File

@ -11,7 +11,11 @@ namespace actorfm
public:
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>
void set_actor(actor_t& actor)

View File

@ -1,15 +1,2 @@
[wrap-file]
directory = googletest-release-1.11.0
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
[wrap-redirect]
filename = hack/subprojects/gtest.wrap

View File

@ -1,6 +1,3 @@
[wrap-git]
url = https://github.com/azchatlanin/hack.git
url = https://gitcast.ru/chatlanin/hack.git
revision = master
[provide]
hack = hack_dep