File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1078,7 +1078,7 @@ inline bool Object::Delete(uint32_t index) {
1078
1078
return result;
1079
1079
}
1080
1080
1081
- inline Array Object::GetPropertyNames () {
1081
+ inline Array Object::GetPropertyNames () const {
1082
1082
napi_value result;
1083
1083
napi_status status = napi_get_property_names (_env, _value, &result);
1084
1084
NAPI_THROW_IF_FAILED (_env, status, Array ());
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ namespace Napi {
601
601
uint32_t index // /< Property / element index
602
602
);
603
603
604
- Array GetPropertyNames (); // /< Get all property names
604
+ Array GetPropertyNames () const ; // /< Get all property names
605
605
606
606
// / Defines a property on the object.
607
607
void DefineProperty (
You can’t perform that action at this time.
0 commit comments