Skip to content

Commit 5f9dfd8

Browse files
committed
Fix MSVC warning
1 parent dd005ca commit 5f9dfd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/lxgui/gui_region_tpl.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ const std::vector<std::string>& region::get_type_list_impl_() {
151151
return type;
152152
} else {
153153
static const std::vector<std::string> type = []() {
154-
using base = typename T::base;
155-
auto list = get_type_list_impl_<base>();
154+
using child_base = typename T::base;
155+
auto list = get_type_list_impl_<child_base>();
156156
list.push_back(T::class_name);
157157
return list;
158158
}();

0 commit comments

Comments
 (0)