| 306 | } |
| 307 | |
| 308 | Status FunctionLibraryRuntimeOverlay::Clone( |
| 309 | std::unique_ptr<FunctionLibraryDefinition>* out_lib_def, |
| 310 | std::unique_ptr<ProcessFunctionLibraryRuntime>* out_pflr, |
| 311 | FunctionLibraryRuntime** out_flr, bool skip_flib_def) { |
| 312 | // NOTE(ezhulenev): The cloned FunctionLibraryRuntime will be missing the |
| 313 | // FunctionLibraryDefinition override, but that's ok because we anyway do not |
| 314 | // copy / clone instantiated items from the base FLR. |
| 315 | return base_flr_->Clone(out_lib_def, out_pflr, out_flr, skip_flib_def); |
| 316 | } |
| 317 | |
| 318 | class FunctionLibraryRuntimeImpl : public FunctionLibraryRuntime { |
| 319 | public: |