-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Description
Hello. Consider the following code:
struct abstract{
virtual void do_smth() = 0;
};
struct holder{
abstract* ptr;
};
find_noncopyable_vars(holder) will return "ptr" member variable as noncopyable variable, which of course wrong.
Attached is a patch, which fixes exactly this situation.
I run the tests and all tests passed (Ubuntu 16.04, Python3.5)
Regards,
Roman