forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix pybind11 warnings in python_rpc_handler.cpp (pytorch#27284)
Summary: Pull Request resolved: pytorch#27284 The warnings related to usage of the deprecated != operator. Instead of checking the member field on every function call, we can check it once, on construction of PythonRpcHandler. Test Plan: Imported from OSS Differential Revision: D17808213 Pulled By: pietern fbshipit-source-id: 022c8f77f266942c49c55b1729e62dbb06262d77
- Loading branch information
1 parent
0d22f3b
commit c742918
Showing
1 changed file
with
17 additions
and
5 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