aboutsummaryrefslogtreecommitdiff
path: root/core/object.h
diff options
context:
space:
mode:
authorest312015-05-01 02:53:41 +0200
committerest312015-05-01 03:41:45 +0200
commitb2b514367824263e2dc1e26b010b0df63fd3700a (patch)
tree8d9ef509c495ceaa25c8a5b34b844fd9c9ed216c /core/object.h
parent5c6b31c024b60ae9c43dc48c04128de99d147f5a (diff)
downloadgodot-b2b514367824263e2dc1e26b010b0df63fd3700a.tar.gz
godot-b2b514367824263e2dc1e26b010b0df63fd3700a.tar.zst
godot-b2b514367824263e2dc1e26b010b0df63fd3700a.zip
Diffstat (limited to 'core/object.h')
-rw-r--r--core/object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/object.h b/core/object.h
index e828a2476..44464ab19 100644
--- a/core/object.h
+++ b/core/object.h
@@ -111,6 +111,9 @@ struct PropertyInfo {
PropertyInfo( Variant::Type p_type, const String p_name, PropertyHint p_hint=PROPERTY_HINT_NONE, const String& p_hint_string="",uint32_t p_usage=PROPERTY_USAGE_DEFAULT) {
type=p_type; name=p_name; hint=p_hint; hint_string=p_hint_string; usage=p_usage;
}
+ bool operator<(const PropertyInfo& p_info) const {
+ return name<p_info.name;
+ }
};