diff --git a/src/autowiring/test/AutoFilterTest.cpp b/src/autowiring/test/AutoFilterTest.cpp index 82b73e7ab..d1898c70f 100644 --- a/src/autowiring/test/AutoFilterTest.cpp +++ b/src/autowiring/test/AutoFilterTest.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include THREAD_HEADER @@ -1133,16 +1134,12 @@ struct MultiFilter01 { MultiFilter01() { // Constructor wraps each method in an AutoFilter call - AutoConstruct&>>([this] (const Decoration<0>& arg) { - Call0(std::move(arg)); - }); - AutoConstruct&>>([this] (const Decoration<1>& arg) { - Call1(std::move(arg)); - }); + DeclareAutoFilter(this, &MultiFilter01::Call0); + DeclareAutoFilter(this, &MultiFilter01::Call1); } }; -TEST_F(AutoFilterTest, MultiMicroAutoFilter) { +TEST_F(AutoFilterTest, DeclareAutoFilterTest) { AutoCurrentContext()->Initiate(); AutoRequired factory; AutoRequired mf01;