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) {
10781078 return result;
10791079}
10801080
1081- inline Array Object::GetPropertyNames () {
1081+ inline Array Object::GetPropertyNames () const {
10821082 napi_value result;
10831083 napi_status status = napi_get_property_names (_env, _value, &result);
10841084 NAPI_THROW_IF_FAILED (_env, status, Array ());
Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ namespace Napi {
601601 uint32_t index // /< Property / element index
602602 );
603603
604- Array GetPropertyNames (); // /< Get all property names
604+ Array GetPropertyNames () const ; // /< Get all property names
605605
606606 // / Defines a property on the object.
607607 void DefineProperty (
You can’t perform that action at this time.
0 commit comments