Declare a class in WX_DECLARE_HASH_MAP() too (PR #24674)

9 views
Skip to first unread message

VZ

unread,
Jul 3, 2024, 7:37:55 PM (2 days ago) Jul 3
to wx-...@googlegroups.com, Subscribed

Instead of just using a type alias, define a class inheriting from std::unordered_map<> in this macro, as this makes it compatible with the existing code not using wxUSE_STD_CONTAINERS which forward-declares hash map classes.

And as this was already done in WX_DECLARE_HASH_SET(), it's also more consistent.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/24674

Commit Summary

  • 4ecdc0f Declare a class in WX_DECLARE_HASH_MAP() too

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/24674@github.com>

Reply all
Reply to author
Forward
0 new messages