Include what you use fix.
The ::grpc::Channel definition used in the rest of the file is currently being transitively imported from the generated protobuf code. Let's include the file explicitely instead. PiperOrigin-RevId: 236147909
This commit is contained in:
parent
a4a4d4bd04
commit
18285855e7
@ -253,6 +253,7 @@ struct hash<::tensorflow::DebugNodeKey> {
|
||||
// TODO(cais): Support grpc:// debug URLs in open source once Python grpc
|
||||
// genrule becomes available. See b/23796275.
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
#include "grpcpp/channel.h"
|
||||
#include "tensorflow/core/debug/debug_service.grpc.pb.h"
|
||||
|
||||
namespace tensorflow {
|
||||
|
Loading…
Reference in New Issue
Block a user