The Session interface has many methods of the form: X(a, b); X(RunOptions, a, b); Not all sessions support the second case (with an empty RunOptions()). We use this variable as a sentinel to dispatch to the correct call.
| 64 | // Not all sessions support the second case (with an empty RunOptions()). |
| 65 | // We use this variable as a sentinel to dispatch to the correct call. |
| 66 | RunOptions* kEmptyRunOptions() { |
| 67 | static RunOptions* options = new RunOptions(); |
| 68 | return options; |
| 69 | } |
| 70 | |
| 71 | } // namespace |
| 72 |
no outgoing calls
no test coverage detected