[SERVER-66608] Make OpNodeStorage::_nodes array private Created: 19/May/22  Updated: 29/Oct/23  Resolved: 17/Jun/22

Status: Closed
Project: Core Server
Component/s: Query Planning
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Improvement Priority: Minor - P4
Reporter: David Storch Assignee: Lynne Wang
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QO 2022-06-13, QO 2022-06-27
Participants:

 Description   

This data member probably shouldn't be accessed directly by most callers. There is a get<I>() template function for accessing a child node at a specific index I. Can _nodes be made private?



 Comments   
Comment by Githook User [ 13/Jun/22 ]

Author:

{'name': 'Lynne Wang', 'email': 'lynne.wang@mongodb.com'}

Message: SERVER-66608 Made OpNodeStorage::_nodes array protected
Branch: master
https://github.com/mongodb/mongo/commit/92fb2e868b603a217e98d82c80d5f138fa70ccc7

Generated at Thu Feb 08 06:05:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.