This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ namespace RBX
:Descriptor(name, Descriptor::Attributes())
,tag(Name::lookup(name))
,isNumber(boost::is_arithmetic<T>::value)
,isFloat(boost::is_floating_point<T>::value)
,isFloat(boost::is_float<T>::value)
,isEnum(false)
{
*isOutdated = false;
@@ -71,7 +71,7 @@ namespace RBX
:Descriptor(name, Descriptor::Attributes())
,tag(Name::declare(tag))
,isNumber(boost::is_arithmetic<T>::value)
,isFloat(boost::is_floating_point<T>::value)
,isFloat(boost::is_float<T>::value)
,isEnum(false)
{
RBXASSERT(!this->tag.empty());
+1 -1
View File
@@ -133,7 +133,7 @@ namespace RBX
/*implement*/ void setValue(DescribedBase* object, const V& value) const
{
Class* c = boost::polymorphic_downcast<Class*>(object);
set(c, value);
(c->*set)(value);
}
};