Permalink
Browse files

Poiner to member

  • Loading branch information...
mortenvp committed Apr 24, 2017
1 parent 41986f9 commit fae8e1d7d917bb34c8c3addd6bc38f92a1cfdd03
Showing with 1 addition and 7 deletions.
  1. +1 −7 test/src/test_function.cpp
@@ -496,12 +496,6 @@ namespace
{
stub::function<void()> member;
};
void t(dummy d)
{
d.member();
std::cout << d.member << std::endl;
}
}
TEST(test_function, bind_member_variable)
@@ -517,7 +511,7 @@ TEST(test_function, bind_member_variable_2)
{
dummy d;
auto ptr = &dummy::member;
//auto b = std::bind(d.member);
auto b = std::bind(b.*ptr);
//b();
//EXPECT_TRUE(d.member.expect_calls().with().to_bool());

0 comments on commit fae8e1d

Please sign in to comment.