mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-31 17:35:47 +00:00
CFlagsProperty: Mark HasValidValue() as const
This doesn't modify internal state.
This commit is contained in:
parent
d5a33b631a
commit
b2db6a21fa
@ -46,7 +46,7 @@ TString CFlagsProperty::ValueAsString(void* pData) const
|
||||
* Checks whether there are any unrecognized bits toggled on in the property value.
|
||||
* Returns the mask of any invalid bits. If all bits are valid, returns 0.
|
||||
*/
|
||||
uint32 CFlagsProperty::HasValidValue(void* pPropertyData)
|
||||
uint32 CFlagsProperty::HasValidValue(void* pPropertyData) const
|
||||
{
|
||||
if (!mAllFlags)
|
||||
return 0;
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
* Checks whether there are any unrecognized bits toggled on in the property value.
|
||||
* Returns the mask of any invalid bits. If all bits are valid, returns 0.
|
||||
*/
|
||||
uint32 HasValidValue(void* pPropertyData);
|
||||
uint32 HasValidValue(void* pPropertyData) const;
|
||||
};
|
||||
|
||||
#endif // CFLAGSPROPERTY_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user