mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
rename set -> this_set
This commit is contained in:
parent
babebe7c5c
commit
f487846371
@ -728,9 +728,9 @@ find_type_by_id(int id) const {
|
|||||||
// Access: Private
|
// Access: Private
|
||||||
///////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////
|
||||||
extern "C" int
|
extern "C" int
|
||||||
get_best_parent_from_Set(int id, const std::set<int> &set) {
|
get_best_parent_from_Set(int id, const std::set<int> &this_set) {
|
||||||
// most common case..
|
// most common case..
|
||||||
if (set.find(id) != set.end()) {
|
if (this_set.find(id) != this_set.end()) {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -739,6 +739,6 @@ get_best_parent_from_Set(int id, const std::set<int> &set) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return th.get_best_parent_from_Set(set);
|
return th.get_best_parent_from_Set(this_set);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ private:
|
|||||||
|
|
||||||
///////////////////////////////////////////
|
///////////////////////////////////////////
|
||||||
// Helper function to allow for "C" interaction into the type system
|
// Helper function to allow for "C" interaction into the type system
|
||||||
extern "C" EXPCL_DTOOL int get_best_parent_from_Set(int id, const std::set<int> &set);
|
extern "C" EXPCL_DTOOL int get_best_parent_from_Set(int id, const std::set<int> &this_set);
|
||||||
|
|
||||||
#include "typeRegistry.I"
|
#include "typeRegistry.I"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user