mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
vcmi: entity tests passed
This commit is contained in:
@ -32,7 +32,10 @@ protected:
|
||||
|
||||
TEST_F(CHeroClassTest, RegistersIconsDoesNothing)
|
||||
{
|
||||
auto cb = std::bind(&CHeroClassTest::registarCb, this, _1, _2, _3, _4);
|
||||
auto cb = [this](auto && PH1, auto && PH2, auto && PH3, auto && PH4)
|
||||
{
|
||||
registarCb(std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2), std::forward<decltype(PH3)>(PH3), std::forward<decltype(PH4)>(PH4));
|
||||
};
|
||||
subject->registerIcons(cb);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user