aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl b/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
index 860d882632..fc87abb54e 100644
--- a/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
+++ b/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
@@ -163,13 +163,13 @@ pair(A, B) -> {A, B}.
%%--------------------------------------------------------------------
wxSizer_replace() ->
- wxSizer_replace(wxSizer, wxSizer).
+ wxSizer_replace(?MODULE, ?MODULE).
-define(CLASS(Type, Class), ((Type) =:= Class) orelse (Type):parent_class(Class)).
wxSizer_replace(OldwinT, NewwinT) -> % this function was the culprit
- ?CLASS(OldwinT, wxSizer),
- ?CLASS(NewwinT, wxSizer),
+ ?CLASS(OldwinT, ?MODULE),
+ ?CLASS(NewwinT, ?MODULE),
ok.
parent_class(wxWindow) -> true;