-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a function to be const member function in partitioner if possibl…
…e. (#3150) Summary: This PR is created from the following discussion. #3142 (comment) Basically, in Partitioner, some functions were not const member function (although it won't modify any value in this class), and they can't be used in const class objects. This PR marks those functions as const. Documentation: [Optional Fixes #issue] Pull Request resolved: #3150 Test Plan: Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. Differential Revision: D15926744 Pulled By: beicy fbshipit-source-id: 1cf5e9a69719efa586f86b68c185d2375c3893b7
- Loading branch information
1 parent
0ff81fa
commit cf68258
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters